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

RefreshTokensOperationsExtensions.GetFromExchangeAsync 方法

定义

public static System.Threading.Tasks.Task<Microsoft.Azure.ContainerRegistry.Models.RefreshToken> GetFromExchangeAsync (this Microsoft.Azure.ContainerRegistry.IRefreshTokensOperations operations, string grantType, string service, string tenant = default, string refreshToken = default, string accessToken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetFromExchangeAsync : Microsoft.Azure.ContainerRegistry.IRefreshTokensOperations * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.ContainerRegistry.Models.RefreshToken>
<Extension()>
Public Function GetFromExchangeAsync (operations As IRefreshTokensOperations, grantType As String, service As String, Optional tenant As String = Nothing, Optional refreshToken As String = Nothing, Optional accessToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RefreshToken)

参数

grantType
String
service
String
tenant
String
refreshToken
String
accessToken
String
cancellationToken
CancellationToken

返回

适用于