Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / EndPoint.cs / 1305376 / 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
- RightNameExpirationInfoPair.cs
- SQLDateTimeStorage.cs
- XmlReflectionMember.cs
- DataRelationCollection.cs
- HttpRequestBase.cs
- OdbcPermission.cs
- LoginNameDesigner.cs
- Annotation.cs
- UrlMappingsModule.cs
- DbConnectionPoolIdentity.cs
- InvokeMemberBinder.cs
- XmlEntityReference.cs
- DragCompletedEventArgs.cs
- PreviousTrackingServiceAttribute.cs
- XmlValidatingReaderImpl.cs
- Vector3DAnimationUsingKeyFrames.cs
- HttpHandlerAction.cs
- ControlTemplate.cs
- tooltip.cs
- TranslateTransform3D.cs
- PrimitiveType.cs
- DynamicDataResources.Designer.cs
- Nullable.cs
- AutoResizedEvent.cs
- SqlStatistics.cs
- MappingMetadataHelper.cs
- DataViewListener.cs
- DataBoundControl.cs
- SrgsToken.cs
- PrimitiveXmlSerializers.cs
- ClonableStack.cs
- DataGridCellsPanel.cs
- KeysConverter.cs
- AssemblyName.cs
- InkCanvasAutomationPeer.cs
- DiscoveryEndpoint.cs
- X509WindowsSecurityToken.cs
- SafeArrayRankMismatchException.cs
- BufferedStream2.cs
- DataGridCaption.cs
- VisualCollection.cs
- ScaleTransform.cs
- MenuCommands.cs
- SocketPermission.cs
- RayMeshGeometry3DHitTestResult.cs
- TemplateComponentConnector.cs
- Empty.cs
- MenuCommands.cs
- PropagationProtocolsTracing.cs
- RouteCollection.cs
- CommandEventArgs.cs
- MailWriter.cs
- UIPropertyMetadata.cs
- OdbcReferenceCollection.cs
- MobileListItem.cs
- ClientProxyGenerator.cs
- PersonalizableTypeEntry.cs
- CompilerScope.cs
- LinkConverter.cs
- EdmSchemaAttribute.cs
- CryptoApi.cs
- _SafeNetHandles.cs
- MachineKeyConverter.cs
- StyleSheet.cs
- WmlFormAdapter.cs
- DataSvcMapFileSerializer.cs
- WebPartConnectionsConnectVerb.cs
- NumberFunctions.cs
- EventListenerClientSide.cs
- SqlResolver.cs
- FeatureSupport.cs
- WindowsSolidBrush.cs
- IntranetCredentialPolicy.cs
- ControlBuilder.cs
- DataGridCellItemAutomationPeer.cs
- AttributeAction.cs
- CultureSpecificStringDictionary.cs
- XmlnsPrefixAttribute.cs
- UrlMappingCollection.cs
- DbProviderFactories.cs
- EntityParameter.cs
- RectangleGeometry.cs
- ComboBoxDesigner.cs
- ClosableStream.cs
- BrowserCapabilitiesFactory.cs
- ComUdtElementCollection.cs
- DataGridColumnReorderingEventArgs.cs
- TextMarkerSource.cs
- QueryOptionExpression.cs
- TextServicesCompartment.cs
- BufferedStream.cs
- ContentDisposition.cs
- Console.cs
- ProtocolsConfigurationHandler.cs
- InvalidProgramException.cs
- ReflectionServiceProvider.cs
- DetailsViewPageEventArgs.cs
- TypeContext.cs
- MaxSessionCountExceededException.cs
- CompilerLocalReference.cs