AsyncStateExtensions 類別

定義

操作異步狀態的延伸模組。

public ref class AsyncStateExtensions abstract sealed
public static class AsyncStateExtensions
type AsyncStateExtensions = class
Public Module AsyncStateExtensions
繼承
AsyncStateExtensions

方法

AddAsyncState(IServiceCollection)

新增、 IAsyncContext<T>Microsoft.Extensions.AsyncState.IAsyncLocalContext`1 服務的預設實作IAsyncState。 請注意,這些介面的實作不是安全線程。

適用於