Método IActivityOperations.GetAsync (String, String, String, CancellationToken)
Recupere a atividade no módulo identificado pelo nome do módulo e o nome da atividade. (consulte https://aka.ms/azureautomationsdk/activityoperations para obter mais informações)
Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (em Microsoft.WindowsAzure.Management.Automation.dll)
Sintaxe
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)
Parâmetros
automationAccount
Type: System.StringO nome da conta de automação.
moduleName
Type: System.StringO nome do módulo.
activityName
Type: System.StringO nome da atividade.
cancellationToken
Type: System.Threading.CancellationTokenToken de cancelamento.
Valor de retorno
Type: System.Threading.Tasks.Task<ActivityGetResponse>
O modelo de resposta para a operação de obtenção de atividade.
Consulte também
Interface IActivityOperations
Namespace Microsoft.WindowsAzure.Management.Automation
Retornar ao topo