SecurityContext.SuppressFlowWindowsIdentity メソッド
アセンブリ: mscorlib (mscorlib.dll 内)

Dim returnValue As AsyncFlowControl returnValue = SecurityContext.SuppressFlowWindowsIdentity
フローを復元するための AsyncFlowControl 構造体。

このメソッドを使用して、SecurityContext が非同期スレッド間を移行する際に Windows ID のフローを中止します。
返された AsyncFlowControl 構造体に対して Undo メソッドを使用すると、SecurityContext オブジェクトが前の状態に戻ります。

SuppressFlowWindowsIdentity メソッドを使用して Windows ID のフローを中止する方法を次のコード例に示します。このコード例は、SecurityContext クラスのトピックで取り上げているコード例の一部分です。
Dim aFC2 As AsyncFlowControl aFC2 = Security.SecurityContext.SuppressFlowWindowsIdentity() Console.WriteLine("Has the Windows identity flow been suppressed? " & _ Security.SecurityContext.IsWindowsIdentityFlowSuppressed())

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- SecurityContext.SuppressFlowWindowsIdentity メソッドのページへのリンク