Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- FixedBufferAttribute.cs
- LinkLabel.cs
- TextBounds.cs
- SelectedDatesCollection.cs
- ConsoleTraceListener.cs
- ChannelPoolSettingsElement.cs
- VectorValueSerializer.cs
- Helper.cs
- CharacterMetricsDictionary.cs
- InternalConfigRoot.cs
- StylusShape.cs
- WebPartTransformerCollection.cs
- SplitContainer.cs
- x509store.cs
- ResXResourceSet.cs
- EditableRegion.cs
- EndEvent.cs
- FileDialogCustomPlace.cs
- ObjectComplexPropertyMapping.cs
- HandleInitializationContext.cs
- PackagePart.cs
- ReflectionPermission.cs
- Cursors.cs
- TypographyProperties.cs
- Region.cs
- Token.cs
- CodeConditionStatement.cs
- ConfigurationValidatorBase.cs
- ChannelHandler.cs
- XmlWrappingReader.cs
- TargetConverter.cs
- CaseStatement.cs
- ListViewSelectEventArgs.cs
- FieldTemplateUserControl.cs
- TextRangeBase.cs
- AnimationClockResource.cs
- ImageEditor.cs
- DoubleUtil.cs
- Camera.cs
- FrameworkContentElement.cs
- DateTimePicker.cs
- ValueSerializerAttribute.cs
- WinHttpWebProxyFinder.cs
- RequestCache.cs
- XmlEntityReference.cs
- Vector3DAnimation.cs
- _DomainName.cs
- SHA256CryptoServiceProvider.cs
- DbProviderFactoriesConfigurationHandler.cs
- AttributeUsageAttribute.cs
- PathSegment.cs
- DescriptionAttribute.cs
- GridViewSortEventArgs.cs
- EntityStoreSchemaFilterEntry.cs
- configsystem.cs
- SiteMapDataSource.cs
- SqlConnectionPoolGroupProviderInfo.cs
- CommandField.cs
- VerificationAttribute.cs
- ExpandSegment.cs
- CodeConditionStatement.cs
- SqlConnectionFactory.cs
- NativeCompoundFileAPIs.cs
- TemplateField.cs
- FormCollection.cs
- RootDesignerSerializerAttribute.cs
- ResourceWriter.cs
- ContentElement.cs
- StylusEditingBehavior.cs
- ColorPalette.cs
- ExclusiveCanonicalizationTransform.cs
- SemaphoreFullException.cs
- ShutDownListener.cs
- WindowsFormsHelpers.cs
- OdbcConnection.cs
- WebPartExportVerb.cs
- PropagatorResult.cs
- CriticalFinalizerObject.cs
- XmlSchemaDocumentation.cs
- CachedFontFace.cs
- httpserverutility.cs
- WebBaseEventKeyComparer.cs
- PeerNearMe.cs
- Image.cs
- BamlLocalizationDictionary.cs
- Helpers.cs
- SwitchElementsCollection.cs
- ParameterModifier.cs
- VirtualPathProvider.cs
- TemplateBindingExtensionConverter.cs
- DateTimeConstantAttribute.cs
- Volatile.cs
- Query.cs
- FaultCode.cs
- TcpClientChannel.cs
- Package.cs
- ButtonPopupAdapter.cs
- Canvas.cs
- DayRenderEvent.cs
- PackageStore.cs