JobOperationsExtensions.StopAsync 方法

定義

觸發作業取消。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse> StopAsync (this Microsoft.Azure.Management.BackupServices.IJobOperations operations, string resourceGroupName, string resourceName, string name, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders);
static member StopAsync : Microsoft.Azure.Management.BackupServices.IJobOperations * string * string * string * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse>
<Extension()>
Public Function StopAsync (operations As IJobOperations, resourceGroupName As String, resourceName As String, name As String, customRequestHeaders As CustomRequestHeaders) As Task(Of OperationResponse)

參數

operations
IJobOperations

Microsoft.Azure.Management.BackupServices.IJobOperations 的參考。

resourceGroupName
String

必要。

resourceName
String

必要。

name
String

選擇性。 應停止之作業的名稱。

customRequestHeaders
CustomRequestHeaders

選擇性。 要進行呼叫的自訂要求標頭。

傳回

作業回應的定義。

適用於