SystemParameters.IsRemoteSession 屬性

定義

取得值,指出呼叫處理是否與終端機服務用戶端工作階段相關聯。

public:
 static property bool IsRemoteSession { bool get(); };
public static bool IsRemoteSession { [System.Security.SecurityCritical] get; }
public static bool IsRemoteSession { get; }
[<get: System.Security.SecurityCritical>]
static member IsRemoteSession : bool
static member IsRemoteSession : bool
Public Shared ReadOnly Property IsRemoteSession As Boolean

屬性值

如果呼叫處理與終端機服務用戶端工作階段相關聯,則為 true而如果呼叫處理與終端機服務主控台工作階段相關聯,則為 false

屬性

備註

此系統計量用於終端機服務環境中。

對應至SM_REMOTESESSION。 請參閱 GetSystemMetrics

XAML 屬性用法

<object property=「{ SystemParameters.IsRemoteSession } 」/>

適用於