IActivityOperations.GetAsync 方法 (String, String, String, CancellationToken)

 

检索由模块名称和活动名称标识的模块中的活动。 (请参阅 https://aka.ms/azureautomationsdk/activityoperations 有关详细信息)

命名空间:   Microsoft.WindowsAzure.Management.Automation
程序集:  Microsoft.WindowsAzure.Management.Automation(Microsoft.WindowsAzure.Management.Automation.dll 中)

语法

Task<ActivityGetResponse> GetAsync(
    string automationAccount,
    string moduleName,
    string activityName,
    CancellationToken cancellationToken
)
Task<ActivityGetResponse^>^ GetAsync(
    String^ automationAccount,
    String^ moduleName,
    String^ activityName,
    CancellationToken cancellationToken
)
abstract GetAsync : 
        automationAccount:string *
        moduleName:string *
        activityName:string *
        cancellationToken:CancellationToken -> Task<ActivityGetResponse>
Function GetAsync (
    automationAccount As String,
    moduleName As String,
    activityName As String,
    cancellationToken As CancellationToken
) As Task(Of ActivityGetResponse)

参数

  • automationAccount
    Type: System.String

    自动管理帐户名称。

返回值

Type: System.Threading.Tasks.Task<ActivityGetResponse>

获取活动操作该响应模型。

请参阅

IActivityOperations 接口
Microsoft.WindowsAzure.Management.Automation 命名空间

返回页首