PeerNodeAddress PeerNodeAddress PeerNodeAddress PeerNodeAddress Class

定义

指定对等节点的包含 EndpointAddress 的类型以及可选的多宿主 IP 地址集合。Specifies a type that contains the EndpointAddress for a peer node as well as an optional collection of multihoming IP addresses.

public ref class PeerNodeAddress sealed
[System.Runtime.Serialization.DataContract(Name="PeerNodeAddress", Namespace="http://schemas.microsoft.com/net/2006/05/peer")]
[System.Runtime.Serialization.KnownType(typeof(System.Net.IPAddress[]))]
public sealed class PeerNodeAddress
type PeerNodeAddress = class
Public NotInheritable Class PeerNodeAddress
继承
PeerNodeAddressPeerNodeAddressPeerNodeAddressPeerNodeAddress
属性

构造函数

PeerNodeAddress(EndpointAddress, ReadOnlyCollection<IPAddress>) PeerNodeAddress(EndpointAddress, ReadOnlyCollection<IPAddress>) PeerNodeAddress(EndpointAddress, ReadOnlyCollection<IPAddress>) PeerNodeAddress(EndpointAddress, ReadOnlyCollection<IPAddress>)

使用提供的 PeerNodeAddress 以及也是为本地计算机配置的多宿主 IP 地址集合初始化 EndpointAddress 类的新实例。Initializes a new instance of PeerNodeAddress with the supplied EndpointAddress and a collection of multihoming IP addresses also configured for the local computer.

属性

EndpointAddress EndpointAddress EndpointAddress EndpointAddress

获取与此 EndpointAddress 关联的 PeerNodeAddressGets the EndpointAddress associated with this PeerNodeAddress.

IPAddresses IPAddresses IPAddresses IPAddresses

获取此 PeerNodeAddress 的多宿主 IP 地址集合。Gets a collection of multihoming IP addresses for this PeerNodeAddress.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

适用于