C# Class ExecutionContextSuppressor, orleans

Suppresses the flow of ExecutionContext until it is disposed.
Note that this is a ref-struct to avoid it being used in an async method.
Exibir arquivo Open project: dotnet/orleans Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ExecutionContextSuppressor ( ) : System.Threading

Initializes a new ExecutionContextSuppressor instance.

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

ExecutionContextSuppressor() public method

Initializes a new ExecutionContextSuppressor instance.
public ExecutionContextSuppressor ( ) : System.Threading
return System.Threading