Compartilhar via


AuthenticationRecord.DeserializeAsync(Stream, CancellationToken) Método

Definição

Desserializa o AuthenticationRecord do especificado Stream.

public static System.Threading.Tasks.Task<Azure.Identity.AuthenticationRecord> DeserializeAsync (System.IO.Stream stream, System.Threading.CancellationToken cancellationToken = default);
static member DeserializeAsync : System.IO.Stream * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Identity.AuthenticationRecord>
Public Shared Function DeserializeAsync (stream As Stream, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AuthenticationRecord)

Parâmetros

stream
Stream

O Stream do qual o serializado AuthenticationRecord será lido.

cancellationToken
CancellationToken

Um CancellationToken que controla o tempo de vida da solicitação.

Retornos

Aplica-se a