Op Englesch liesen

Deelen iwwer


IAsyncContext<T> Interface

Definition

Provides access to the current async context. Some implementations of this interface may not be thread safe.

C#
public interface IAsyncContext<T>

Type Parameters

T

The type of the asynchronous state.

Methods

Get()

Gets current async context.

Set(T)

Sets async context.

TryGet(T)

Tries to get the current async context.

Applies to

Produkt Versiounen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)