SecurityContext.Capture メソッド
メモ : このメソッドは、.NET Framework version 2.0 で新しく追加されたものです。
現在のスレッドのセキュリティ コンテキストをキャプチャします。
名前空間: System.Security
アセンブリ: mscorlib (mscorlib.dll 内)
構文
Dim returnValue As SecurityContext returnValue = SecurityContext.Capture

別のスレッドに適用できる、キャプチャ済みセキュリティ コンテキスト。SecurityContext は、実行中のスレッドの CompressedStack および WindowsIdentity で構成されます。

Capture メソッドを使用するコード例を次に示します。このコード例は、SecurityContext クラスのトピックで取り上げているコード例の一部分です。

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.Capture メソッドのページへのリンク