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
- WasEndpointConfigContainer.cs
- WindowsPrincipal.cs
- TableLayoutSettingsTypeConverter.cs
- SourceElementsCollection.cs
- LifetimeServices.cs
- CaseInsensitiveComparer.cs
- QueryContinueDragEvent.cs
- EdmScalarPropertyAttribute.cs
- ConfigXmlAttribute.cs
- DirectoryInfo.cs
- UrlMapping.cs
- TraceUtility.cs
- StatusBarPanelClickEvent.cs
- PointLight.cs
- RotateTransform3D.cs
- ProxySimple.cs
- SpotLight.cs
- InstanceBehavior.cs
- EntityCommand.cs
- AsyncCompletedEventArgs.cs
- SystemWebCachingSectionGroup.cs
- CapabilitiesUse.cs
- CalloutQueueItem.cs
- MonitorWrapper.cs
- HostedTransportConfigurationBase.cs
- InternalsVisibleToAttribute.cs
- StyleXamlTreeBuilder.cs
- StringInfo.cs
- HttpProfileBase.cs
- fixedPageContentExtractor.cs
- SByte.cs
- __ConsoleStream.cs
- UInt16.cs
- Missing.cs
- EntityProviderFactory.cs
- XPathCompileException.cs
- Selector.cs
- TimeSpanParse.cs
- PermissionToken.cs
- DynamicRenderer.cs
- ServicePointManager.cs
- EntityDataSourceContextCreatedEventArgs.cs
- NameSpaceEvent.cs
- ZoneLinkButton.cs
- IUnknownConstantAttribute.cs
- _Connection.cs
- SQLSingle.cs
- PcmConverter.cs
- ZoneIdentityPermission.cs
- FunctionQuery.cs
- XmlSerializationGeneratedCode.cs
- TextServicesContext.cs
- PersistenceTypeAttribute.cs
- DataGridViewCellParsingEventArgs.cs
- GatewayDefinition.cs
- MsmqIntegrationProcessProtocolHandler.cs
- ProvideValueServiceProvider.cs
- StringComparer.cs
- DrawingBrush.cs
- DragDeltaEventArgs.cs
- DateTimeConverter2.cs
- Control.cs
- WmlTextBoxAdapter.cs
- WorkItem.cs
- MenuItemStyleCollection.cs
- CompensatableTransactionScopeActivityDesigner.cs
- ObjectItemAttributeAssemblyLoader.cs
- WebBrowser.cs
- DataDocumentXPathNavigator.cs
- CFStream.cs
- OracleMonthSpan.cs
- IFlowDocumentViewer.cs
- TreeNode.cs
- GridToolTip.cs
- SQLResource.cs
- StyleHelper.cs
- UriTemplateMatchException.cs
- SymmetricKey.cs
- TreeNodeClickEventArgs.cs
- MSAAWinEventWrap.cs
- DiscreteKeyFrames.cs
- WorkflowRuntimeServiceElementCollection.cs
- GridViewColumnCollection.cs
- XmlNode.cs
- MemberAccessException.cs
- AttributeAction.cs
- ThreadStartException.cs
- RouteUrlExpressionBuilder.cs
- WebRequestModulesSection.cs
- ComplusEndpointConfigContainer.cs
- ControlPaint.cs
- BroadcastEventHelper.cs
- PerfCounters.cs
- MetadataReference.cs
- FlowLayoutSettings.cs
- AppSettingsExpressionBuilder.cs
- MaskedTextBox.cs
- PnrpPermission.cs
- MarkupObject.cs
- ZipIOModeEnforcingStream.cs