你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AuthenticationRecord.Deserialize(Stream, CancellationToken) 方法

定义

从指定的 Stream反序列化 AuthenticationRecord

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

参数

stream
Stream

将从 Stream 中读取序列化 AuthenticationRecord 的 。

cancellationToken
CancellationToken

控制 CancellationToken 请求生存期的 。

返回

适用于