IsolatedWindowsEnvironmentUserInfo クラス

定義

非推奨になりました。 分離 Windows 環境ユーザーのプロパティを含むランタイム クラス。

public ref class IsolatedWindowsEnvironmentUserInfo sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class IsolatedWindowsEnvironmentUserInfo final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentUserInfo is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
class IsolatedWindowsEnvironmentUserInfo final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class IsolatedWindowsEnvironmentUserInfo
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentUserInfo is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
public sealed class IsolatedWindowsEnvironmentUserInfo
Public NotInheritable Class IsolatedWindowsEnvironmentUserInfo
継承
Object Platform::Object IInspectable IsolatedWindowsEnvironmentUserInfo
属性

Windows の要件

デバイス ファミリ
Windows 10, version 2104 (10.0.20348.0 で導入)
API contract
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (v3.0 で導入)

注釈

警告

これは非推奨の API です。

プロパティ

EnvironmentUserName

非推奨になりました。 分離された Windows 環境にサインインしているユーザーのユーザー名を取得します。これは異なり、ホスト ユーザーとは別であるためです。

EnvironmentUserSid

非推奨になりました。 分離された Windows 環境にサインインしているユーザーの SID を取得します。これは異なり、ホスト ユーザーとは別であるためです。

メソッド

TryWaitForSignInAsync()

非推奨になりました。 この非同期待機関数は、Isolated Windows Environment のサインイン プロセスが完了すると を返します。 サインインに成功した場合は をfalse返します。それ以外の場合は を返trueします。

TryWaitForSignInWithProgressAsync()

非推奨になりました。 呼び出し元が環境のサインイン プロセスが完了するのを待ってから続行できるようにする非同期関数。 この関数は、サインインを待機する際の進行状況の更新を提供します。 TryWaitForSignInAsync は実行しません。

適用対象