SecurityContext.RestoreFlow 方法

定義

恢復非同步執行緒間的安全上下文流動。

public:
 static void RestoreFlow();
public static void RestoreFlow();
static member RestoreFlow : unit -> unit
Public Shared Sub RestoreFlow ()

例外狀況

安全上下文為 null 或 空字串。

.NET 5+(含 .NET 核心):所有版本皆適用。

備註

方法呼叫RestoreFlowAsyncFlowControl.Undo方法以反轉先前SuppressFlow方法呼叫的效果。

適用於