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
- WindowsGraphics2.cs
- GraphicsContext.cs
- AcceleratedTokenProviderState.cs
- UnsafeNativeMethodsPenimc.cs
- BitmapEffectGeneralTransform.cs
- LayeredChannelFactory.cs
- HtmlTableCellCollection.cs
- ProjectionCamera.cs
- DeclaredTypeValidator.cs
- Property.cs
- XPathMultyIterator.cs
- XmlAnyElementAttribute.cs
- CollectionViewGroup.cs
- NetDataContractSerializer.cs
- EnumUnknown.cs
- IndentTextWriter.cs
- SafeNativeMethods.cs
- OrderedDictionaryStateHelper.cs
- DragStartedEventArgs.cs
- SimpleRecyclingCache.cs
- DataServiceException.cs
- CompilerWrapper.cs
- peernodestatemanager.cs
- XmlTypeAttribute.cs
- RequestDescription.cs
- DBCSCodePageEncoding.cs
- AbandonedMutexException.cs
- CodeAttributeArgument.cs
- HostingEnvironmentWrapper.cs
- ListViewAutomationPeer.cs
- ListItemsPage.cs
- DateTimeOffsetAdapter.cs
- CacheHelper.cs
- FullTextState.cs
- WpfKnownType.cs
- OpCodes.cs
- SqlCrossApplyToCrossJoin.cs
- SocketAddress.cs
- WorkflowApplicationUnloadedException.cs
- GlobalEventManager.cs
- DragCompletedEventArgs.cs
- FlatButtonAppearance.cs
- ConsoleCancelEventArgs.cs
- AppDomainProtocolHandler.cs
- SafeThreadHandle.cs
- TreeViewImageKeyConverter.cs
- AnimationClockResource.cs
- ExtenderControl.cs
- UIElementCollection.cs
- HandlerFactoryCache.cs
- RangeValueProviderWrapper.cs
- XmlCharCheckingReader.cs
- BuilderElements.cs
- AnnotationResourceChangedEventArgs.cs
- GuidTagList.cs
- ResourceSet.cs
- ProxyHwnd.cs
- WrappedIUnknown.cs
- KeyedHashAlgorithm.cs
- ServerValidateEventArgs.cs
- CombinedTcpChannel.cs
- GorillaCodec.cs
- ForwardPositionQuery.cs
- XmlSchemaParticle.cs
- PerformanceCounters.cs
- DesignerWithHeader.cs
- XmlAttributeCache.cs
- ContainerVisual.cs
- WSTrustFeb2005.cs
- Scripts.cs
- DataGridViewCellConverter.cs
- PropVariant.cs
- ControlPersister.cs
- ServiceEndpointElementCollection.cs
- FileSystemInfo.cs
- GAC.cs
- ProcessDesigner.cs
- HtmlForm.cs
- Win32PrintDialog.cs
- PropertyDescriptorGridEntry.cs
- TypeConverterHelper.cs
- TypeUnloadedException.cs
- SpecialFolderEnumConverter.cs
- CompositeActivityTypeDescriptor.cs
- RegexBoyerMoore.cs
- XmlNode.cs
- ListBindingConverter.cs
- Win32KeyboardDevice.cs
- Pkcs7Recipient.cs
- ToolStripRendererSwitcher.cs
- FixedSOMLineRanges.cs
- AutomationProperty.cs
- AnnotationObservableCollection.cs
- PrivilegedConfigurationManager.cs
- DbProviderFactories.cs
- FormCollection.cs
- MessagePropertyFilter.cs
- ConditionalExpression.cs
- LayoutEvent.cs
- securitymgrsite.cs