PeerCollaboration.SignInScope 屬性

定義

取得 PeerScope,呼叫的對等電腦可以對其發行顯示狀態、功能和物件資訊。Gets the PeerScope to which the calling peer can publish presence, capability and object information.

public:
 static property System::Net::PeerToPeer::Collaboration::PeerScope SignInScope { System::Net::PeerToPeer::Collaboration::PeerScope get(); };
[get: System.Security.SecurityCritical]
public static System.Net.PeerToPeer.Collaboration.PeerScope SignInScope { get; }
[<get: System.Security.SecurityCritical>]
member this.SignInScope : System.Net.PeerToPeer.Collaboration.PeerScope
Public Shared ReadOnly Property SignInScope As PeerScope

屬性值

PeerScope

PeerScope 物件,指定呼叫的對等電腦要參與的範圍。PeerScope object that specifies the scope in which the calling peer will participate. 這個屬性的預設值為 nullThe default value for this property is null.

屬性

備註

對等主機或主應用程式可能會使用不同的範圍來限制或區分共同作業活動中的對等參與。The peer host or host application may limit or differentiate peer participation in collaboration activities by using separate scopes.

呼叫端對等應檢查此方法的傳回值,以判斷它可以成功執行的其他動作。The calling peer should inspect the return value from this method to determine what further actions it can successfully perform.

適用於

另請參閱