SecurityContext.SuppressFlowWindowsIdentity メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > SecurityContext.SuppressFlowWindowsIdentity メソッドの意味・解説 

SecurityContext.SuppressFlowWindowsIdentity メソッド

メモ : このメソッドは、.NET Framework version 2.0新しく追加されたものです。

複数非同期スレッドにおける現在のセキュリティ コンテキストWindows ID 部分フロー中止します

名前空間: System.Security
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public Shared Function SuppressFlowWindowsIdentity
 As AsyncFlowControl
Dim returnValue As AsyncFlowControl

returnValue = SecurityContext.SuppressFlowWindowsIdentity
public static AsyncFlowControl SuppressFlowWindowsIdentity
 ()
public:
static AsyncFlowControl SuppressFlowWindowsIdentity ()
public static AsyncFlowControl SuppressFlowWindowsIdentity
 ()
public static function SuppressFlowWindowsIdentity
 () : AsyncFlowControl

戻り値
フロー復元するための 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())
AsyncFlowControl aFC2 =
    SecurityContext.SuppressFlowWindowsIdentity();
Console.WriteLine("Has the Windows identity flow been suppressed?"
    + SecurityContext.IsWindowsIdentityFlowSuppressed());
AsyncFlowControl aFC2 = SecurityContext.SuppressFlowWindowsIdentity();
Console.WriteLine("Has the Windows identity flow been suppressed?"
    + SecurityContext.IsWindowsIdentityFlowSuppressed());
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「SecurityContext.SuppressFlowWindowsIdentity メソッド」の関連用語

SecurityContext.SuppressFlowWindowsIdentity メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



SecurityContext.SuppressFlowWindowsIdentity メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS