AzureClientExtensions.GetPostOrDeleteOperationResultAsync Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
GetPostOrDeleteOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)
Obtiene el resultado de la operación para las operaciones DELETE y POST. (En desuso, use GetLongRunningOperationResultAsync)
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> GetPostOrDeleteOperationResultAsync (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 GetPostOrDeleteOperationResultAsync : 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 GetPostOrDeleteOperationResultAsync (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
Respuesta de la operación begin
- customHeaders
- Dictionary<String,List<String>>
Encabezados que se agregarán a la solicitud
- cancellationToken
- CancellationToken
Token de cancelación
Devoluciones
Respuesta de la operación
Se aplica a
GetPostOrDeleteOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)
Obtiene el resultado de la operación para las operaciones DELETE y POST. (En desuso, use GetLongRunningOperationResultAsync)
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<TBody,THeader>> GetPostOrDeleteOperationResultAsync<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 GetPostOrDeleteOperationResultAsync : 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 GetPostOrDeleteOperationResultAsync(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 del cuerpo del recurso
- THeader
Tipo del encabezado de recurso
Parámetros
- client
- IAzureClient
IAzureClient
Respuesta de la operación begin
- customHeaders
- Dictionary<String,List<String>>
Encabezados que se agregarán a la solicitud
- cancellationToken
- CancellationToken
Token de cancelación
Devoluciones
Respuesta de la operación
Se aplica a
GetPostOrDeleteOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)
Obtiene el resultado de la operación para las operaciones DELETE y POST. (En desuso, use GetLongRunningOperationResultAsync)
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<TBody>> GetPostOrDeleteOperationResultAsync<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 GetPostOrDeleteOperationResultAsync : 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 GetPostOrDeleteOperationResultAsync(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 del cuerpo del recurso
Parámetros
- client
- IAzureClient
IAzureClient
- response
- AzureOperationResponse<TBody>
Respuesta de la operación begin
- customHeaders
- Dictionary<String,List<String>>
Encabezados que se agregarán a la solicitud
- cancellationToken
- CancellationToken
Token de cancelación
Devoluciones
Respuesta de la operación
Se aplica a
GetPostOrDeleteOperationResultAsync<THeader>(IAzureClient, AzureOperationHeaderResponse<THeader>, Dictionary<String,List<String>>, CancellationToken)
Obtiene el resultado de la operación para las operaciones DELETE y POST. (En desuso, use GetLongRunningOperationResultAsync)
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<THeader>> GetPostOrDeleteOperationResultAsync<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 GetPostOrDeleteOperationResultAsync : 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 GetPostOrDeleteOperationResultAsync(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 los encabezados de recursos
Parámetros
- client
- IAzureClient
IAzureClient
Respuesta de la operación begin
- customHeaders
- Dictionary<String,List<String>>
Encabezados que se agregarán a la solicitud
- cancellationToken
- CancellationToken
Token de cancelación
Devoluciones
Respuesta de la operación
Se aplica a
Azure SDK for .NET