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

AzureClientExtensions.GetPutOrPatchOperationResultAsync 方法

定义

重载

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

获取 PUT 和 PATCH 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

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

获取 PUT 和 PATCH 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

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

获取 PUT 和 PATCH 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

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

获取 PUT 和 PATCH 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> GetPutOrPatchOperationResultAsync (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 GetPutOrPatchOperationResultAsync : 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 GetPutOrPatchOperationResultAsync (client As IAzureClient, response As AzureOperationResponse, customHeaders As Dictionary(Of String, List(Of String)), cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

参数

client
IAzureClient

IAzureClient

response
AzureOperationResponse

开始操作的响应

customHeaders
Dictionary<String,List<String>>

将添加到请求的标头

cancellationToken
CancellationToken

取消令牌

返回

操作响应

适用于

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

获取 PUT 和 PATCH 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<TBody,THeader>> GetPutOrPatchOperationResultAsync<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 GetPutOrPatchOperationResultAsync : 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 GetPutOrPatchOperationResultAsync(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))

类型参数

TBody

资源正文的类型

THeader

资源标头的类型

参数

client
IAzureClient

IAzureClient

response
AzureOperationResponse<TBody,THeader>

开始操作的响应

customHeaders
Dictionary<String,List<String>>

将添加到请求的标头

cancellationToken
CancellationToken

取消令牌

返回

Task<AzureOperationResponse<TBody,THeader>>

使用创建的资源做出响应

适用于

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

获取 PUT 和 PATCH 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<TBody>> GetPutOrPatchOperationResultAsync<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 GetPutOrPatchOperationResultAsync : 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 GetPutOrPatchOperationResultAsync(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))

类型参数

TBody

资源正文的类型

参数

client
IAzureClient

IAzureClient

response
AzureOperationResponse<TBody>

开始操作的响应

customHeaders
Dictionary<String,List<String>>

将添加到请求的标头

cancellationToken
CancellationToken

取消令牌

返回

使用创建的资源做出响应

适用于