PeerCollaboration.LocalEndPointName 屬性

定義

取得或設定與呼叫的對等電腦相關聯的 PeerEndPoint 的名稱。Gets or sets the name of the PeerEndPoint associated with the calling peer.

public:
 static property System::String ^ LocalEndPointName { System::String ^ get(); void set(System::String ^ value); };
[get: System.Security.SecurityCritical]
[set: System.Security.SecurityCritical]
public static string LocalEndPointName { get; set; }
[<get: System.Security.SecurityCritical>]
[<set: System.Security.SecurityCritical>]
member this.LocalEndPointName : string with get, set
Public Shared Property LocalEndPointName As String

屬性值

String

String,內含與呼叫的對等電腦端點相關聯的名稱 (端點由 Name 屬性提供)。String that contains the name associated with the calling peer's endpoint (provided as the Name property). 這個屬性的預設值為 nullThe default value for this property is null.

屬性

例外狀況

備註

存取此屬性需要 PermissionStateUnrestrictedAccess to this property requires a PermissionState of Unrestricted. 此狀態會在共同 Peer 作業會話開始時建立。This state is created when the Peer collaboration session begins.

適用於

另請參閱