Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Net / System / Net / EndPoint.cs / 1 / EndPoint.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Runtime.InteropServices; using System.Net.Sockets; namespace System.Net { // Generic abstraction to identify network addresses ////// [Serializable] public abstract class EndPoint { ////// Identifies a network address. /// ////// public virtual AddressFamily AddressFamily { get { throw ExceptionHelper.PropertyNotImplementedException; } } ////// Returns the Address Family to which the EndPoint belongs. /// ////// public virtual SocketAddress Serialize() { throw ExceptionHelper.MethodNotImplementedException; } ////// Serializes EndPoint information into a SocketAddress structure. /// ////// public virtual EndPoint Create(SocketAddress socketAddress) { throw ExceptionHelper.MethodNotImplementedException; } }; // abstract class EndPoint } // namespace System.Net // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Creates an EndPoint instance from a SocketAddress structure. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Runtime.InteropServices; using System.Net.Sockets; namespace System.Net { // Generic abstraction to identify network addresses ////// [Serializable] public abstract class EndPoint { ////// Identifies a network address. /// ////// public virtual AddressFamily AddressFamily { get { throw ExceptionHelper.PropertyNotImplementedException; } } ////// Returns the Address Family to which the EndPoint belongs. /// ////// public virtual SocketAddress Serialize() { throw ExceptionHelper.MethodNotImplementedException; } ////// Serializes EndPoint information into a SocketAddress structure. /// ////// public virtual EndPoint Create(SocketAddress socketAddress) { throw ExceptionHelper.MethodNotImplementedException; } }; // abstract class EndPoint } // namespace System.Net // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Creates an EndPoint instance from a SocketAddress structure. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CachingHintValidation.cs
- ThemeableAttribute.cs
- ObjectListCommandEventArgs.cs
- InlineObject.cs
- RelationshipConstraintValidator.cs
- DockAndAnchorLayout.cs
- TraceContextRecord.cs
- Polyline.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- DocumentReference.cs
- DbConnectionFactory.cs
- FaultPropagationRecord.cs
- LocatorManager.cs
- AdornedElementPlaceholder.cs
- CallbackTimeoutsBehavior.cs
- Path.cs
- OperandQuery.cs
- WorkflowView.cs
- EventData.cs
- EntityRecordInfo.cs
- DesignerEditorPartChrome.cs
- FormatterServices.cs
- AdapterDictionary.cs
- Binding.cs
- IndexObject.cs
- HierarchicalDataBoundControlAdapter.cs
- DataRelationCollection.cs
- InputMethodStateTypeInfo.cs
- ActivityStateQuery.cs
- RemotingException.cs
- entitydatasourceentitysetnameconverter.cs
- BaseAppDomainProtocolHandler.cs
- ConfigurationSectionCollection.cs
- StreamResourceInfo.cs
- DateTimeUtil.cs
- ExpandCollapseProviderWrapper.cs
- ItemCollection.cs
- XsdDateTime.cs
- CapabilitiesState.cs
- ChildrenQuery.cs
- CodeDOMUtility.cs
- TemplateField.cs
- ParameterSubsegment.cs
- XamlFxTrace.cs
- Converter.cs
- SafeFileHandle.cs
- validationstate.cs
- ServicesUtilities.cs
- TransportReplyChannelAcceptor.cs
- ControlIdConverter.cs
- MSAANativeProvider.cs
- MessagePropertyDescriptionCollection.cs
- HttpPostedFile.cs
- JumpList.cs
- DataGridPagerStyle.cs
- Roles.cs
- Drawing.cs
- TextBoxRenderer.cs
- MaterialGroup.cs
- SafeNativeMethods.cs
- ViewLoader.cs
- DataServiceQueryContinuation.cs
- Matrix.cs
- WorkflowInstance.cs
- SqlCharStream.cs
- X509RawDataKeyIdentifierClause.cs
- SoapIncludeAttribute.cs
- ServiceMemoryGates.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- DataGridColumnHeader.cs
- WorkflowOperationBehavior.cs
- SnapLine.cs
- XmlTextReaderImplHelpers.cs
- XPathNavigator.cs
- ListViewInsertEventArgs.cs
- VectorValueSerializer.cs
- ToolStripPanelDesigner.cs
- DesignerTextViewAdapter.cs
- FormatPage.cs
- MetaModel.cs
- MatrixTransform.cs
- PageAsyncTaskManager.cs
- UrlPropertyAttribute.cs
- WindowExtensionMethods.cs
- ContainerControlDesigner.cs
- CngKeyCreationParameters.cs
- ConnectorRouter.cs
- RewritingValidator.cs
- Identifier.cs
- WindowsStatusBar.cs
- ImageSourceValueSerializer.cs
- MimeBasePart.cs
- LambdaCompiler.Logical.cs
- Function.cs
- SmuggledIUnknown.cs
- BuildProviderUtils.cs
- RelatedEnd.cs
- ObjectMaterializedEventArgs.cs
- TimerElapsedEvenArgs.cs
- DocumentGridContextMenu.cs