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
- TypeSystem.cs
- AsyncCompletedEventArgs.cs
- SemanticResultKey.cs
- ConsumerConnectionPointCollection.cs
- UpdateTranslator.cs
- TagPrefixAttribute.cs
- UserPreferenceChangingEventArgs.cs
- QilTypeChecker.cs
- SynchronizedPool.cs
- TemplateField.cs
- WeakReadOnlyCollection.cs
- RenderingBiasValidation.cs
- Vector3DKeyFrameCollection.cs
- FormViewUpdatedEventArgs.cs
- IsolationInterop.cs
- CacheChildrenQuery.cs
- SingleKeyFrameCollection.cs
- AnimationClockResource.cs
- TextDecorationCollection.cs
- BamlRecordReader.cs
- WindowsFormsLinkLabel.cs
- DESCryptoServiceProvider.cs
- DataTableCollection.cs
- StrongNameIdentityPermission.cs
- PerfCounterSection.cs
- SingleBodyParameterMessageFormatter.cs
- AsyncResult.cs
- EngineSite.cs
- RegexCompiler.cs
- SignatureDescription.cs
- XmlDataCollection.cs
- DrawToolTipEventArgs.cs
- MethodCallExpression.cs
- DragEventArgs.cs
- FileVersionInfo.cs
- ToolStripDropTargetManager.cs
- MediaPlayerState.cs
- TrackingProfileManager.cs
- DetailsViewPageEventArgs.cs
- XmlChildNodes.cs
- SvcMapFile.cs
- DoubleAnimationClockResource.cs
- ObjectListCommandsPage.cs
- BufferedConnection.cs
- DynamicMethod.cs
- SqlInternalConnectionTds.cs
- SqlDataSourceSelectingEventArgs.cs
- ContentWrapperAttribute.cs
- SemanticKeyElement.cs
- SqlGenericUtil.cs
- AccessibleObject.cs
- SuppressMessageAttribute.cs
- SiteMap.cs
- TimeStampChecker.cs
- TypeLoadException.cs
- Pen.cs
- HMACSHA384.cs
- ApplicationException.cs
- DataGridViewComboBoxColumnDesigner.cs
- FunctionImportElement.cs
- StrongName.cs
- OutputScopeManager.cs
- InheritanceContextHelper.cs
- ProviderCommandInfoUtils.cs
- NativeActivityAbortContext.cs
- ISCIIEncoding.cs
- SHA1.cs
- ManagementEventWatcher.cs
- GridViewEditEventArgs.cs
- StrokeNode.cs
- SecurityHelper.cs
- PrefixQName.cs
- ComPlusContractBehavior.cs
- TextContainerChangeEventArgs.cs
- DataServiceBuildProvider.cs
- ChangePassword.cs
- Buffer.cs
- CipherData.cs
- DataGridViewDataErrorEventArgs.cs
- TemplatePropertyEntry.cs
- ItemsPanelTemplate.cs
- DrawingCollection.cs
- DbDeleteCommandTree.cs
- DbConnectionStringCommon.cs
- MergePropertyDescriptor.cs
- BooleanToVisibilityConverter.cs
- UDPClient.cs
- CompiledELinqQueryState.cs
- OleDbErrorCollection.cs
- WebDescriptionAttribute.cs
- Common.cs
- _UriSyntax.cs
- NegotiateStream.cs
- HashMembershipCondition.cs
- DataAdapter.cs
- ScriptResourceInfo.cs
- DocumentViewer.cs
- DataTemplate.cs
- ToolStripSeparator.cs
- DataSourceSelectArguments.cs