Zdieľať cez


AsyncStateExtensions Class

Definition

Extensions to manipulate async state.

public ref class AsyncStateExtensions abstract sealed
public static class AsyncStateExtensions
type AsyncStateExtensions = class
Public Module AsyncStateExtensions
Inheritance
AsyncStateExtensions

Methods

AddAsyncState(IServiceCollection)

Adds default implementations for IAsyncState, IAsyncContext<T>, and Microsoft.Extensions.AsyncState.IAsyncLocalContext`1 services. Please note that implementations of these interfaces are not thread safe.

Applies to