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
- PermissionSetEnumerator.cs
- DesignerSerializerAttribute.cs
- DataColumnCollection.cs
- DataPagerCommandEventArgs.cs
- sitestring.cs
- CollectionChangeEventArgs.cs
- OracleParameter.cs
- IProvider.cs
- baseshape.cs
- HostingEnvironmentWrapper.cs
- SimpleTypeResolver.cs
- HuffCodec.cs
- NewItemsContextMenuStrip.cs
- EdmScalarPropertyAttribute.cs
- ResourceExpression.cs
- Scripts.cs
- ExpandSegment.cs
- ProgressBarRenderer.cs
- TableItemProviderWrapper.cs
- HighlightComponent.cs
- returneventsaver.cs
- CodeTypeReferenceCollection.cs
- DataGridTable.cs
- Bookmark.cs
- DirectoryRedirect.cs
- EmulateRecognizeCompletedEventArgs.cs
- LinearQuaternionKeyFrame.cs
- DeclarativeCatalogPart.cs
- StringSource.cs
- StateItem.cs
- SubclassTypeValidator.cs
- PreviewPrintController.cs
- BitmapEffectrendercontext.cs
- MouseCaptureWithinProperty.cs
- DoubleLinkList.cs
- FloaterBaseParagraph.cs
- OdbcUtils.cs
- DataContractSerializerServiceBehavior.cs
- Run.cs
- GridLength.cs
- ContentDesigner.cs
- MsmqInputChannelListenerBase.cs
- TableLayoutSettingsTypeConverter.cs
- ManifestResourceInfo.cs
- And.cs
- Keyboard.cs
- WebPartEditorApplyVerb.cs
- SqlConnectionStringBuilder.cs
- ResourceCategoryAttribute.cs
- BasicBrowserDialog.designer.cs
- PathGradientBrush.cs
- DataSourceDescriptorCollection.cs
- XMLDiffLoader.cs
- HtmlInputFile.cs
- MarshalByValueComponent.cs
- GridLength.cs
- AttributedMetaModel.cs
- SecurityState.cs
- MobileControlsSectionHelper.cs
- ManipulationStartedEventArgs.cs
- TextDataBindingHandler.cs
- FileEnumerator.cs
- ThreadWorkerController.cs
- DataSourceSelectArguments.cs
- Documentation.cs
- GeneratedCodeAttribute.cs
- FunctionImportMapping.cs
- EdmProperty.cs
- Bidi.cs
- Calendar.cs
- PackWebResponse.cs
- InlineUIContainer.cs
- SerializationStore.cs
- SimpleApplicationHost.cs
- PageSettings.cs
- DataObjectCopyingEventArgs.cs
- InputReportEventArgs.cs
- WorkflowApplicationUnloadedException.cs
- FactoryGenerator.cs
- CodeArrayIndexerExpression.cs
- RecognitionResult.cs
- Pkcs9Attribute.cs
- Baml2006ReaderFrame.cs
- OrderedHashRepartitionStream.cs
- PersonalizationDictionary.cs
- OuterGlowBitmapEffect.cs
- UndoManager.cs
- TextBoxBaseDesigner.cs
- StyleCollection.cs
- CodeObject.cs
- MimeTypeMapper.cs
- ProxyGenerationError.cs
- XmlTypeMapping.cs
- unsafenativemethodstextservices.cs
- DefaultProxySection.cs
- XmlNodeComparer.cs
- XmlSchemaObjectTable.cs
- Pens.cs
- UIElementIsland.cs
- StringValidatorAttribute.cs