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
- XamlStream.cs
- MsmqInputChannelListener.cs
- NameValueSectionHandler.cs
- FixedTextPointer.cs
- WebBrowserHelper.cs
- FontFaceLayoutInfo.cs
- ReadOnlyDataSource.cs
- NetworkAddressChange.cs
- ConfigurationConverterBase.cs
- AsyncDataRequest.cs
- hresults.cs
- __ConsoleStream.cs
- CompiledQuery.cs
- ConnectionPointCookie.cs
- Utils.cs
- ClassicBorderDecorator.cs
- SqlCacheDependencyDatabaseCollection.cs
- BitmapScalingModeValidation.cs
- TimeSpanSecondsConverter.cs
- WindowsStatic.cs
- MemoryStream.cs
- VirtualDirectoryMapping.cs
- HostedHttpContext.cs
- DecoratedNameAttribute.cs
- CodeEventReferenceExpression.cs
- Documentation.cs
- Typeface.cs
- DataComponentMethodGenerator.cs
- OperationAbortedException.cs
- TableProvider.cs
- FloatUtil.cs
- ViewValidator.cs
- GifBitmapEncoder.cs
- UnconditionalPolicy.cs
- Utils.cs
- XsltException.cs
- JpegBitmapEncoder.cs
- MatrixAnimationBase.cs
- CompilationLock.cs
- LinqDataSourceStatusEventArgs.cs
- ZipIOLocalFileHeader.cs
- __FastResourceComparer.cs
- ToolStripRendererSwitcher.cs
- LayoutTableCell.cs
- SqlMethodCallConverter.cs
- TemplateKey.cs
- InlineCollection.cs
- PublisherIdentityPermission.cs
- ControlBindingsCollection.cs
- HtmlSelectionListAdapter.cs
- SecurityDocument.cs
- Grid.cs
- DependencyPropertyKey.cs
- Compiler.cs
- QueryCacheManager.cs
- TransactionScope.cs
- DataSourceConverter.cs
- securitymgrsite.cs
- ErrorEventArgs.cs
- LogLogRecord.cs
- ProvidersHelper.cs
- ScrollEventArgs.cs
- PagerSettings.cs
- RuntimeEnvironment.cs
- MediaSystem.cs
- ContentFilePart.cs
- ToolboxService.cs
- RotateTransform.cs
- TableLayoutSettingsTypeConverter.cs
- DataGridPreparingCellForEditEventArgs.cs
- X509Utils.cs
- RichTextBox.cs
- HostExecutionContextManager.cs
- DESCryptoServiceProvider.cs
- SerTrace.cs
- EncoderExceptionFallback.cs
- TdsParserStaticMethods.cs
- CodeCastExpression.cs
- PermissionAttributes.cs
- ReliabilityContractAttribute.cs
- XmlTextEncoder.cs
- Double.cs
- TextLineResult.cs
- ZipIOBlockManager.cs
- ThreadStaticAttribute.cs
- SqlSelectStatement.cs
- RecognizeCompletedEventArgs.cs
- ActiveXMessageFormatter.cs
- ComponentDispatcherThread.cs
- BevelBitmapEffect.cs
- NumberSubstitution.cs
- HiddenFieldPageStatePersister.cs
- ComplusEndpointConfigContainer.cs
- PhysicalOps.cs
- PointAnimationUsingPath.cs
- ClientSponsor.cs
- DbException.cs
- SessionParameter.cs
- AmbientProperties.cs
- SqlDataSourceCache.cs