共用方式為


AccessTokensOperationsExtensions.GetAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.ContainerRegistry.Models.AccessToken> GetAsync (this Microsoft.Azure.ContainerRegistry.IAccessTokensOperations operations, string service, string scope, string refreshToken, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.ContainerRegistry.IAccessTokensOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.ContainerRegistry.Models.AccessToken>
<Extension()>
Public Function GetAsync (operations As IAccessTokensOperations, service As String, scope As String, refreshToken As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AccessToken)

Parameters

service
String
scope
String
refreshToken
String
cancellationToken
CancellationToken

Returns

Applies to