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 方法调用的效果。

适用于