Compartilhar via


AzureClientExtensions.GetLongRunningOperationResultAsync Método

Definição

Sobrecargas

GetLongRunningOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)

Obtém o resultado da operação para operações de execução prolongada.

GetLongRunningOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)

Obtém o resultado da operação para operações de execução prolongada.

GetLongRunningOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)

Obtém o resultado da operação para operações de execução prolongada.

GetLongRunningOperationResultAsync<THeader>(IAzureClient, AzureOperationHeaderResponse<THeader>, Dictionary<String,List<String>>, CancellationToken)

Obtém o resultado da operação para operações de execução prolongada.

GetLongRunningOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)

Obtém o resultado da operação para operações de execução prolongada.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> GetLongRunningOperationResultAsync (this Microsoft.Rest.Azure.IAzureClient client, Microsoft.Rest.Azure.AzureOperationResponse response, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, System.Threading.CancellationToken cancellationToken);
static member GetLongRunningOperationResultAsync : Microsoft.Rest.Azure.IAzureClient * Microsoft.Rest.Azure.AzureOperationResponse * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
<Extension()>
Public Function GetLongRunningOperationResultAsync (client As IAzureClient, response As AzureOperationResponse, customHeaders As Dictionary(Of String, List(Of String)), cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parâmetros

client
IAzureClient

IAzureClient

response
AzureOperationResponse

Resposta da operação de início

customHeaders
Dictionary<String,List<String>>

Cabeçalhos que serão adicionados à solicitação

cancellationToken
CancellationToken

Token de cancelamento

Retornos

Resposta da operação

Aplica-se a

GetLongRunningOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)

Obtém o resultado da operação para operações de execução prolongada.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<TBody,THeader>> GetLongRunningOperationResultAsync<TBody,THeader> (this Microsoft.Rest.Azure.IAzureClient client, Microsoft.Rest.Azure.AzureOperationResponse<TBody,THeader> response, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, System.Threading.CancellationToken cancellationToken) where TBody : class where THeader : class;
static member GetLongRunningOperationResultAsync : Microsoft.Rest.Azure.IAzureClient * Microsoft.Rest.Azure.AzureOperationResponse<'Body, 'Header (requires 'Body : null and 'Header : null)> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<'Body, 'Header>> (requires 'Body : null and 'Header : null)
<Extension()>
Public Function GetLongRunningOperationResultAsync(Of TBody As Class, THeader As Class) (client As IAzureClient, response As AzureOperationResponse(Of TBody, THeader), customHeaders As Dictionary(Of String, List(Of String)), cancellationToken As CancellationToken) As Task(Of AzureOperationResponse(Of TBody, THeader))

Parâmetros de tipo

TBody

Tipo do corpo do recurso

THeader

Tipo do cabeçalho do recurso

Parâmetros

client
IAzureClient

IAzureClient

response
AzureOperationResponse<TBody,THeader>

Resposta da operação de início

customHeaders
Dictionary<String,List<String>>

Cabeçalhos que serão adicionados à solicitação

cancellationToken
CancellationToken

Token de cancelamento

Retornos

Task<AzureOperationResponse<TBody,THeader>>

Resposta com recurso criado

Aplica-se a

GetLongRunningOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)

Obtém o resultado da operação para operações de execução prolongada.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<TBody>> GetLongRunningOperationResultAsync<TBody> (this Microsoft.Rest.Azure.IAzureClient client, Microsoft.Rest.Azure.AzureOperationResponse<TBody> response, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, System.Threading.CancellationToken cancellationToken) where TBody : class;
static member GetLongRunningOperationResultAsync : Microsoft.Rest.Azure.IAzureClient * Microsoft.Rest.Azure.AzureOperationResponse<'Body (requires 'Body : null)> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<'Body>> (requires 'Body : null)
<Extension()>
Public Function GetLongRunningOperationResultAsync(Of TBody As Class) (client As IAzureClient, response As AzureOperationResponse(Of TBody), customHeaders As Dictionary(Of String, List(Of String)), cancellationToken As CancellationToken) As Task(Of AzureOperationResponse(Of TBody))

Parâmetros de tipo

TBody

Tipo do corpo do recurso

Parâmetros

client
IAzureClient

IAzureClient

response
AzureOperationResponse<TBody>

Resposta da operação de início

customHeaders
Dictionary<String,List<String>>

Cabeçalhos que serão adicionados à solicitação

cancellationToken
CancellationToken

Token de cancelamento

Retornos

Resposta com recurso criado

Aplica-se a

GetLongRunningOperationResultAsync<THeader>(IAzureClient, AzureOperationHeaderResponse<THeader>, Dictionary<String,List<String>>, CancellationToken)

Obtém o resultado da operação para operações de execução prolongada.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<THeader>> GetLongRunningOperationResultAsync<THeader> (this Microsoft.Rest.Azure.IAzureClient client, Microsoft.Rest.Azure.AzureOperationHeaderResponse<THeader> response, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, System.Threading.CancellationToken cancellationToken) where THeader : class;
static member GetLongRunningOperationResultAsync : Microsoft.Rest.Azure.IAzureClient * Microsoft.Rest.Azure.AzureOperationHeaderResponse<'Header (requires 'Header : null)> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<'Header>> (requires 'Header : null)
<Extension()>
Public Function GetLongRunningOperationResultAsync(Of THeader As Class) (client As IAzureClient, response As AzureOperationHeaderResponse(Of THeader), customHeaders As Dictionary(Of String, List(Of String)), cancellationToken As CancellationToken) As Task(Of AzureOperationHeaderResponse(Of THeader))

Parâmetros de tipo

THeader

Tipo de cabeçalhos de recurso

Parâmetros

client
IAzureClient

IAzureClient

response
AzureOperationHeaderResponse<THeader>

Resposta da operação de início

customHeaders
Dictionary<String,List<String>>

Cabeçalhos que serão adicionados à solicitação

cancellationToken
CancellationToken

Token de cancelamento

Retornos

Resposta da operação

Aplica-se a