共用方式為


RefreshTokensOperationsExtensions.GetFromExchangeAsync Method

Definition

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)

Parameters

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

Returns

Applies to