Compartilhar via


IAsyncState.RegisterAsyncContext Método

Definição

Registra o novo contexto assíncrono com o estado .

public:
 Microsoft::Extensions::AsyncState::AsyncStateToken RegisterAsyncContext();
public Microsoft.Extensions.AsyncState.AsyncStateToken RegisterAsyncContext ();
abstract member RegisterAsyncContext : unit -> Microsoft.Extensions.AsyncState.AsyncStateToken
Public Function RegisterAsyncContext () As AsyncStateToken

Retornos

Token que fornece acesso ao contexto reservado.

Aplica-se a