PeerNodeAddress 類別

定義

指定一個型別,此型別包含一個對等節點的 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
[<System.Runtime.Serialization.DataContract(Name="PeerNodeAddress", Namespace="http://schemas.microsoft.com/net/2006/05/peer")>]
[<System.Runtime.Serialization.KnownType(typeof(System.Net.IPAddress[]))>]
type PeerNodeAddress = class
Public NotInheritable Class PeerNodeAddress
繼承
PeerNodeAddress
屬性

建構函式

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 關聯的 PeerNodeAddressGets the EndpointAddress associated with this PeerNodeAddress.

IPAddresses

取得這個 PeerNodeAddress 的多重主目錄 IP 位址集合。Gets a collection of multihoming IP addresses for this PeerNodeAddress.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於