共用方式為


WatcherOperationsExtensions.StopAsync 方法

定義

繼續監看員名稱所識別的監看員。 http://aka.ms/azureautomationsdk/watcheroperations

public static System.Threading.Tasks.Task StopAsync (this Microsoft.Azure.Management.Automation.IWatcherOperations operations, string resourceGroupName, string automationAccountName, string watcherName, System.Threading.CancellationToken cancellationToken = default);
static member StopAsync : Microsoft.Azure.Management.Automation.IWatcherOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function StopAsync (operations As IWatcherOperations, resourceGroupName As String, automationAccountName As String, watcherName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

參數

operations
IWatcherOperations

這個擴充方法的作業群組。

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

watcherName
String

監看員名稱。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於