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
- Tool.cs
- DifferencingCollection.cs
- DataControlImageButton.cs
- WorkflowControlClient.cs
- ResolveMatchesMessage11.cs
- CellLabel.cs
- InvokeHandlers.cs
- MinMaxParagraphWidth.cs
- WebPartUtil.cs
- BitFlagsGenerator.cs
- KeyedCollection.cs
- MethodBuilderInstantiation.cs
- OSFeature.cs
- SvcMapFile.cs
- CategoryGridEntry.cs
- AudienceUriMode.cs
- Context.cs
- RemoteWebConfigurationHostServer.cs
- DiscardableAttribute.cs
- TaskExceptionHolder.cs
- FixedStringLookup.cs
- StringStorage.cs
- RoleManagerSection.cs
- Ref.cs
- TypefaceMap.cs
- Binding.cs
- SemanticValue.cs
- ArraySet.cs
- QueryParameter.cs
- CopyNodeSetAction.cs
- BinaryObjectWriter.cs
- DataGridHeaderBorder.cs
- XmlAttributeAttribute.cs
- Divide.cs
- DownloadProgressEventArgs.cs
- CompositeControlDesigner.cs
- MarkupProperty.cs
- RowVisual.cs
- MatrixConverter.cs
- PathSegmentCollection.cs
- BitmapEffectInput.cs
- Baml2006KeyRecord.cs
- ObjectStateManager.cs
- ServiceDeploymentInfo.cs
- SystemParameters.cs
- TransformerConfigurationWizardBase.cs
- BitVec.cs
- RichTextBoxConstants.cs
- MasterPageParser.cs
- TaiwanLunisolarCalendar.cs
- DictionaryItemsCollection.cs
- KeyedCollection.cs
- ZipIOCentralDirectoryFileHeader.cs
- DataGridViewRowCancelEventArgs.cs
- PrintPreviewControl.cs
- MailDefinition.cs
- XmlDataSourceNodeDescriptor.cs
- CodeLabeledStatement.cs
- SafeFindHandle.cs
- UIElement.cs
- IdentityValidationException.cs
- DataViewManagerListItemTypeDescriptor.cs
- CharAnimationBase.cs
- ScaleTransform.cs
- ProfessionalColors.cs
- ReferencedType.cs
- RequestResizeEvent.cs
- EncoderParameters.cs
- PropertyReferenceSerializer.cs
- ModuleConfigurationInfo.cs
- IBuiltInEvidence.cs
- DataGridViewTopLeftHeaderCell.cs
- Vector3DCollection.cs
- SchemaCollectionCompiler.cs
- brushes.cs
- FunctionImportElement.cs
- ResXBuildProvider.cs
- WebConvert.cs
- DnsPermission.cs
- XamlSerializerUtil.cs
- XamlTypeWithExplicitNamespace.cs
- StylusPointCollection.cs
- RTTrackingProfile.cs
- ImageClickEventArgs.cs
- ListDictionary.cs
- EdmProperty.cs
- InstanceLockQueryResult.cs
- TextTabProperties.cs
- ProviderMetadata.cs
- EFColumnProvider.cs
- ProfilePropertyNameValidator.cs
- DesignerVerbCollection.cs
- CommentGlyph.cs
- BuilderInfo.cs
- CapacityStreamGeometryContext.cs
- Int32Converter.cs
- HtmlDocument.cs
- TrustSection.cs
- ResourcesBuildProvider.cs
- MaterialGroup.cs