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
- AdapterUtil.cs
- SystemResourceHost.cs
- SelectionRangeConverter.cs
- GradientSpreadMethodValidation.cs
- TdsParser.cs
- CodeAccessSecurityEngine.cs
- LogicalMethodInfo.cs
- SourceFileBuildProvider.cs
- SqlWorkflowInstanceStore.cs
- RelatedCurrencyManager.cs
- PageSettings.cs
- WinEventTracker.cs
- ReflectEventDescriptor.cs
- OutputCacheModule.cs
- StateChangeEvent.cs
- DataReceivedEventArgs.cs
- dtdvalidator.cs
- InputScope.cs
- Subtree.cs
- ProtocolViolationException.cs
- UnwrappedTypesXmlSerializerManager.cs
- SqlMethods.cs
- BuildProviderUtils.cs
- XappLauncher.cs
- TypeConverterAttribute.cs
- BorderGapMaskConverter.cs
- ProxyHwnd.cs
- WmfPlaceableFileHeader.cs
- HtmlInputFile.cs
- QuarticEase.cs
- PersonalizationState.cs
- Unit.cs
- UserPreferenceChangedEventArgs.cs
- ExecutionEngineException.cs
- CodeTypeMemberCollection.cs
- PolicyStatement.cs
- CollectionViewSource.cs
- ProviderIncompatibleException.cs
- TemplateDefinition.cs
- ParameterBuilder.cs
- EntityContainerEmitter.cs
- DateTimeOffset.cs
- WarningException.cs
- Focus.cs
- PathGradientBrush.cs
- InstalledVoice.cs
- NetTcpSecurityElement.cs
- RayMeshGeometry3DHitTestResult.cs
- _ConnectionGroup.cs
- ContentValidator.cs
- StylusButton.cs
- WebDescriptionAttribute.cs
- AssemblyBuilder.cs
- ProxyWebPartManager.cs
- MetadataArtifactLoaderCompositeResource.cs
- RowCache.cs
- XslTransform.cs
- ProgressBar.cs
- NameTable.cs
- InfoCardKeyedHashAlgorithm.cs
- OdbcUtils.cs
- ToolStripItemImageRenderEventArgs.cs
- BlobPersonalizationState.cs
- CompilationPass2TaskInternal.cs
- XmlSchemaSimpleTypeUnion.cs
- QilFactory.cs
- TreeViewItem.cs
- TokenizerHelper.cs
- ModuleElement.cs
- SignatureHelper.cs
- OrderByBuilder.cs
- CircleHotSpot.cs
- LogicalTreeHelper.cs
- AssemblyAssociatedContentFileAttribute.cs
- EventDrivenDesigner.cs
- SecurityManager.cs
- DataRelationPropertyDescriptor.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- RecordBuilder.cs
- XamlSerializer.cs
- MouseBinding.cs
- ServicesUtilities.cs
- XsltArgumentList.cs
- ContractInstanceProvider.cs
- StaticContext.cs
- FileAuthorizationModule.cs
- ExpandSegment.cs
- MapPathBasedVirtualPathProvider.cs
- BitmapFrame.cs
- ReversePositionQuery.cs
- StreamGeometryContext.cs
- FileDialog.cs
- SoundPlayer.cs
- FixedPosition.cs
- StylusButtonEventArgs.cs
- ConnectionProviderAttribute.cs
- ArraySet.cs
- AnnotationMap.cs
- EntityDataReader.cs
- RequiredFieldValidator.cs