Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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
///
///
/// Identifies a network address.
///
///
[Serializable]
public abstract class EndPoint {
///
///
/// Returns the Address Family to which the EndPoint belongs.
///
///
public virtual AddressFamily AddressFamily {
get {
throw ExceptionHelper.PropertyNotImplementedException;
}
}
///
///
/// Serializes EndPoint information into a SocketAddress structure.
///
///
public virtual SocketAddress Serialize() {
throw ExceptionHelper.MethodNotImplementedException;
}
///
///
/// Creates an EndPoint instance from a SocketAddress structure.
///
///
public virtual EndPoint Create(SocketAddress socketAddress) {
throw ExceptionHelper.MethodNotImplementedException;
}
}; // abstract class EndPoint
} // namespace System.Net
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TransactedReceiveData.cs
- TableColumnCollection.cs
- RtfNavigator.cs
- TraceUtils.cs
- GiveFeedbackEvent.cs
- DataGridTable.cs
- BuilderPropertyEntry.cs
- ProcessModelInfo.cs
- TextDecorationCollection.cs
- OdbcConnectionHandle.cs
- TextOnlyOutput.cs
- DbCommandTree.cs
- ReadOnlyObservableCollection.cs
- AccessedThroughPropertyAttribute.cs
- SystemGatewayIPAddressInformation.cs
- CookieHandler.cs
- ThreadNeutralSemaphore.cs
- DBSqlParserTableCollection.cs
- Accessible.cs
- Variant.cs
- Transactions.cs
- NotifyIcon.cs
- dtdvalidator.cs
- TemplatedMailWebEventProvider.cs
- Roles.cs
- _CommandStream.cs
- UInt64Storage.cs
- Transform.cs
- SmtpNtlmAuthenticationModule.cs
- WebEventCodes.cs
- CFGGrammar.cs
- DbParameterHelper.cs
- TextRangeEditTables.cs
- StringWriter.cs
- GenerateScriptTypeAttribute.cs
- Ref.cs
- TargetInvocationException.cs
- PointLightBase.cs
- SafeNativeMemoryHandle.cs
- UserControlCodeDomTreeGenerator.cs
- DockPattern.cs
- FastEncoderWindow.cs
- QilUnary.cs
- FaultContractAttribute.cs
- PrintDialogException.cs
- XsdDataContractImporter.cs
- SID.cs
- XmlQueryOutput.cs
- HttpPostedFile.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- FormViewCommandEventArgs.cs
- WriteTimeStream.cs
- SqlVisitor.cs
- MultiPageTextView.cs
- EventBindingService.cs
- MergeFailedEvent.cs
- BindingEditor.xaml.cs
- HtmlValidationSummaryAdapter.cs
- LogicalExpr.cs
- InternalPermissions.cs
- SymbolPair.cs
- JavaScriptSerializer.cs
- PropertyGridCommands.cs
- DrawingImage.cs
- ActivityScheduledQuery.cs
- PropertyOverridesDialog.cs
- UnsafeNativeMethodsCLR.cs
- CodeDomLoader.cs
- ContentTextAutomationPeer.cs
- DataGridViewImageColumn.cs
- AnimationLayer.cs
- MediaPlayerState.cs
- ProxyAttribute.cs
- SafeBuffer.cs
- nulltextnavigator.cs
- SqlProviderManifest.cs
- XmlRootAttribute.cs
- NameValueConfigurationCollection.cs
- ConfigurationValues.cs
- DataSvcMapFileSerializer.cs
- DocobjHost.cs
- ProjectedWrapper.cs
- CapabilitiesState.cs
- ClientSettingsSection.cs
- SchemaImporterExtensionElement.cs
- ValidationSummary.cs
- UDPClient.cs
- DBDataPermission.cs
- ListBindingConverter.cs
- PersianCalendar.cs
- ColumnMapCopier.cs
- ComponentEvent.cs
- ObjectView.cs
- dataprotectionpermission.cs
- WinFormsSpinner.cs
- TextBoxBaseDesigner.cs
- DetailsViewInsertedEventArgs.cs
- DataBoundControlDesigner.cs
- wmiprovider.cs
- ExchangeUtilities.cs