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
- ADMembershipUser.cs
- ActivityExecutionFilter.cs
- RestHandler.cs
- Html32TextWriter.cs
- EventTrigger.cs
- EditingMode.cs
- SerializationFieldInfo.cs
- TrustLevel.cs
- StickyNoteHelper.cs
- LocationSectionRecord.cs
- exports.cs
- ClassImporter.cs
- ComponentEditorForm.cs
- CounterSetInstanceCounterDataSet.cs
- ContentValidator.cs
- IsolatedStorageException.cs
- ConnectionManagementSection.cs
- TypeInfo.cs
- DataServiceRequestArgs.cs
- WebPartZone.cs
- PingReply.cs
- DocumentProperties.cs
- PasswordPropertyTextAttribute.cs
- HuffCodec.cs
- ValidatingPropertiesEventArgs.cs
- SaveWorkflowCommand.cs
- TraceHwndHost.cs
- SystemPens.cs
- DataSourceControlBuilder.cs
- CodeTypeParameter.cs
- PerformanceCounterLib.cs
- HttpContext.cs
- UpdatePanelControlTrigger.cs
- ActivityBuilder.cs
- BufferedOutputAsyncStream.cs
- UnSafeCharBuffer.cs
- MaterialCollection.cs
- SafeNativeMethods.cs
- TextChange.cs
- ProcessModelSection.cs
- AlphabeticalEnumConverter.cs
- DetailsViewModeEventArgs.cs
- ContextMarshalException.cs
- DurableInstanceContextProvider.cs
- PathStreamGeometryContext.cs
- CalloutQueueItem.cs
- fixedPageContentExtractor.cs
- AccessDataSourceView.cs
- CodeSnippetTypeMember.cs
- ProviderUtil.cs
- DataSourceXmlAttributeAttribute.cs
- ScrollChangedEventArgs.cs
- MobileCategoryAttribute.cs
- FrameworkElementAutomationPeer.cs
- EnumMemberAttribute.cs
- RouteItem.cs
- XmlReaderSettings.cs
- TextAutomationPeer.cs
- AccessorTable.cs
- IIS7UserPrincipal.cs
- ELinqQueryState.cs
- ApplicationSettingsBase.cs
- EditingCoordinator.cs
- CompositeKey.cs
- CurrentChangedEventManager.cs
- MenuItemAutomationPeer.cs
- HttpCookiesSection.cs
- HostedImpersonationContext.cs
- Encoder.cs
- RelativeSource.cs
- ViewGenerator.cs
- AttachInfo.cs
- DSACryptoServiceProvider.cs
- TextCompositionManager.cs
- ClonableStack.cs
- CodeCompiler.cs
- ProfileInfo.cs
- ObjectDataSourceSelectingEventArgs.cs
- CompositionTarget.cs
- MasterPageCodeDomTreeGenerator.cs
- DataGridViewImageColumn.cs
- StrokeSerializer.cs
- ToolStripRendererSwitcher.cs
- Pair.cs
- SafeRightsManagementHandle.cs
- Label.cs
- UserControlParser.cs
- ConfigurationLockCollection.cs
- XamlSerializer.cs
- MarkupCompilePass1.cs
- RelationalExpressions.cs
- SupportsEventValidationAttribute.cs
- Tuple.cs
- SafeFileHandle.cs
- Operator.cs
- Message.cs
- ImportCatalogPart.cs
- HeaderCollection.cs
- regiisutil.cs
- ControlPropertyNameConverter.cs