Share via


IActivityOperations.GetAsync Method (String, String, String, CancellationToken)

 

Retrieve the activity in the module identified by module name and activity name. (see https://aka.ms/azureautomationsdk/activityoperations for more information)

Namespace:   Microsoft.WindowsAzure.Management.Automation
Assembly:  Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)

Syntax

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)

Parameters

  • automationAccount
    Type: System.String

    The automation account name.

Return Value

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

The response model for the get activity operation.

See Also

IActivityOperations Interface
Microsoft.WindowsAzure.Management.Automation Namespace

Return to top