Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- VariantWrapper.cs
- MediaTimeline.cs
- SerializerProvider.cs
- ForwardPositionQuery.cs
- DataRowCollection.cs
- Registry.cs
- SoapFormatExtensions.cs
- SctClaimSerializer.cs
- BaseCodePageEncoding.cs
- MLangCodePageEncoding.cs
- DataGridViewLinkColumn.cs
- precedingsibling.cs
- RemoteArgument.cs
- GridToolTip.cs
- TextSegment.cs
- FontFamily.cs
- GraphicsContainer.cs
- ServiceNameCollection.cs
- ToolStripSettings.cs
- TextUtf8RawTextWriter.cs
- HttpBufferlessInputStream.cs
- PanelDesigner.cs
- Mappings.cs
- TreeNode.cs
- PageStatePersister.cs
- Win32MouseDevice.cs
- SecuritySessionFilter.cs
- TextElement.cs
- SpanIndex.cs
- CacheVirtualItemsEvent.cs
- NativeRightsManagementAPIsStructures.cs
- StateManagedCollection.cs
- CheckBoxRenderer.cs
- XmlAttributeOverrides.cs
- VolatileResourceManager.cs
- FormViewCommandEventArgs.cs
- ListBox.cs
- TextStore.cs
- NullableBoolConverter.cs
- Matrix3D.cs
- IsolatedStorageException.cs
- XsltLibrary.cs
- TextShapeableCharacters.cs
- Int32Rect.cs
- ModelEditingScope.cs
- KeyGesture.cs
- latinshape.cs
- InvalidWMPVersionException.cs
- NativeCompoundFileAPIs.cs
- TrackBar.cs
- HtmlTableCellCollection.cs
- SessionPageStateSection.cs
- SecurityHeaderElementInferenceEngine.cs
- ConnectionStringSettings.cs
- RectConverter.cs
- XmlSchemaException.cs
- OutOfMemoryException.cs
- TdsParameterSetter.cs
- SafeRightsManagementHandle.cs
- ArrayTypeMismatchException.cs
- RepeatBehaviorConverter.cs
- TextEditorSpelling.cs
- GeneratedContractType.cs
- ZipIOCentralDirectoryFileHeader.cs
- DbProviderManifest.cs
- followingquery.cs
- CacheAxisQuery.cs
- QueuePathDialog.cs
- DataGridHeaderBorder.cs
- CodePrimitiveExpression.cs
- IsolatedStorage.cs
- TreeNodeCollection.cs
- SiteMapProvider.cs
- GenericIdentity.cs
- MimeReflector.cs
- CheckBoxRenderer.cs
- PersonalizationStateInfo.cs
- CngKeyBlobFormat.cs
- SqlDataSource.cs
- MarkupCompilePass2.cs
- ToolStripControlHost.cs
- HostProtectionPermission.cs
- ConfigurationStrings.cs
- GeometryGroup.cs
- AccessViolationException.cs
- EdmToObjectNamespaceMap.cs
- HttpListenerPrefixCollection.cs
- ConvertEvent.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- XNodeSchemaApplier.cs
- ConstraintManager.cs
- EntityDataSourceValidationException.cs
- UIElementIsland.cs
- SpAudioStreamWrapper.cs
- ListCardsInFileRequest.cs
- SerializableAttribute.cs
- DesignerWithHeader.cs
- VisualStates.cs
- ServiceBehaviorElement.cs
- DateTimeOffset.cs