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
- BuildManagerHost.cs
- LookupTables.cs
- SiteMapDataSource.cs
- EnvelopedPkcs7.cs
- DecimalKeyFrameCollection.cs
- PrintPreviewControl.cs
- ListViewInsertionMark.cs
- RemoteWebConfigurationHostServer.cs
- TreeIterator.cs
- ProcessHostConfigUtils.cs
- PrePostDescendentsWalker.cs
- GlyphShapingProperties.cs
- CodeAttributeArgument.cs
- SafeNativeMethods.cs
- StringKeyFrameCollection.cs
- IteratorFilter.cs
- AssemblyResourceLoader.cs
- FileSystemEventArgs.cs
- MatrixKeyFrameCollection.cs
- MultiSelectRootGridEntry.cs
- HwndMouseInputProvider.cs
- SqlPersistenceProviderFactory.cs
- ItemCollectionEditor.cs
- SourceFilter.cs
- XmlTextWriter.cs
- BrowsableAttribute.cs
- WindowsGraphicsCacheManager.cs
- DesigntimeLicenseContext.cs
- TakeQueryOptionExpression.cs
- Interop.cs
- RequiredAttributeAttribute.cs
- ComEventsInfo.cs
- SeekStoryboard.cs
- NativeMethods.cs
- BitArray.cs
- ExpressionPrefixAttribute.cs
- XmlReflectionImporter.cs
- ChangeTracker.cs
- TransformerInfoCollection.cs
- ModelEditingScope.cs
- DirectionalLight.cs
- CustomError.cs
- TextTreeText.cs
- Slider.cs
- WebPermission.cs
- RewritingProcessor.cs
- CacheMemory.cs
- ContractListAdapter.cs
- ObjectIDGenerator.cs
- CommandField.cs
- xdrvalidator.cs
- TextParaLineResult.cs
- RegisteredHiddenField.cs
- ExceptionRoutedEventArgs.cs
- ApplicationManager.cs
- NotFiniteNumberException.cs
- PageTheme.cs
- ValidationResult.cs
- MemberAssignment.cs
- UserCancellationException.cs
- ContainsRowNumberChecker.cs
- XamlFilter.cs
- ContentElement.cs
- SafeNativeMethods.cs
- ColorConverter.cs
- Types.cs
- DockAndAnchorLayout.cs
- VirtualizingPanel.cs
- InputScopeNameConverter.cs
- Canvas.cs
- DataGridBeginningEditEventArgs.cs
- VectorCollectionValueSerializer.cs
- XPathAxisIterator.cs
- XmlEnumAttribute.cs
- TagMapCollection.cs
- ClientSettings.cs
- OneToOneMappingSerializer.cs
- HScrollProperties.cs
- DesignSurfaceServiceContainer.cs
- ClickablePoint.cs
- CqlParserHelpers.cs
- ClassValidator.cs
- XmlConverter.cs
- OutputCacheSettings.cs
- BoolExpr.cs
- EntityViewContainer.cs
- JournalNavigationScope.cs
- BrowserCapabilitiesFactoryBase.cs
- Logging.cs
- GenericAuthenticationEventArgs.cs
- ExceptionNotification.cs
- ImageCodecInfoPrivate.cs
- ScrollChrome.cs
- PolicyValidationException.cs
- GeneratedCodeAttribute.cs
- HyperLinkStyle.cs
- EntityType.cs
- WindowCollection.cs
- FolderNameEditor.cs
- XmlImplementation.cs