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
- PersistenceTypeAttribute.cs
- DetailsView.cs
- Attributes.cs
- ListSortDescriptionCollection.cs
- WsatExtendedInformation.cs
- PagesChangedEventArgs.cs
- ConnectionConsumerAttribute.cs
- ResourceDescriptionAttribute.cs
- Interop.cs
- CodeLabeledStatement.cs
- ElementAction.cs
- DocumentApplicationState.cs
- SamlAuthorizationDecisionStatement.cs
- CurrentTimeZone.cs
- BinaryKeyIdentifierClause.cs
- BuilderElements.cs
- GlyphShapingProperties.cs
- TaiwanLunisolarCalendar.cs
- Literal.cs
- ZipIOLocalFileHeader.cs
- DbSetClause.cs
- IncrementalCompileAnalyzer.cs
- Translator.cs
- RelationshipNavigation.cs
- SeekableReadStream.cs
- NetworkInformationPermission.cs
- DesignerSelectionListAdapter.cs
- FrameworkContentElement.cs
- NetStream.cs
- SiteMapNodeCollection.cs
- BamlTreeMap.cs
- DataGridViewColumnHeaderCell.cs
- DBSchemaTable.cs
- DecimalAnimation.cs
- InputManager.cs
- AccessedThroughPropertyAttribute.cs
- DataStreamFromComStream.cs
- SamlAuthenticationClaimResource.cs
- Membership.cs
- SingleObjectCollection.cs
- NativeCppClassAttribute.cs
- XmlChoiceIdentifierAttribute.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- KeyFrames.cs
- BitmapDecoder.cs
- SHA1Managed.cs
- BufferedStream.cs
- DataServiceQueryProvider.cs
- controlskin.cs
- ProcessThread.cs
- ItemsControlAutomationPeer.cs
- Padding.cs
- ProcessInfo.cs
- SurrogateSelector.cs
- Int64Storage.cs
- SqlVisitor.cs
- UInt32Storage.cs
- Filter.cs
- SetterBase.cs
- LabelAutomationPeer.cs
- TerminatorSinks.cs
- UpdateProgress.cs
- QuadraticBezierSegment.cs
- RSAOAEPKeyExchangeDeformatter.cs
- EventProxy.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- DocumentPageView.cs
- SvcMapFileLoader.cs
- LoadRetryConstantStrategy.cs
- XmlILModule.cs
- LoginCancelEventArgs.cs
- AuthorizationSection.cs
- _Events.cs
- WebBrowserPermission.cs
- MergeFailedEvent.cs
- ConfigurationHelpers.cs
- CryptoHandle.cs
- TextTabProperties.cs
- WebPartConnectVerb.cs
- CharAnimationBase.cs
- IFormattable.cs
- UIEndRequest.cs
- CompositeControl.cs
- WebPartVerbsEventArgs.cs
- SiteMapHierarchicalDataSourceView.cs
- ListBoxDesigner.cs
- ImageButton.cs
- GC.cs
- AsyncOperationManager.cs
- CancellationTokenSource.cs
- BitmapInitialize.cs
- SessionStateItemCollection.cs
- ContextMarshalException.cs
- NativeMethods.cs
- ProjectionRewriter.cs
- MessageFormatterConverter.cs
- XamlDesignerSerializationManager.cs
- DeriveBytes.cs
- ColumnBinding.cs
- ServiceRouteHandler.cs