SecurityContext.RestoreFlow 方法

定义

在异步线程间恢复安全上下文的流动。Restores the flow of the security context across asynchronous threads.

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

例外

安全上下文为 null 或空字符串。The security context is null or an empty string.

注解

方法 RestoreFlowAsyncFlowControl.Undo 方法调用,以反转先前 SuppressFlow 方法调用的效果。The RestoreFlow method is called by the AsyncFlowControl.Undo method to reverse the effect of a prior SuppressFlow method call.

适用于