Método ICloudServiceOperations.GetAsync
Retrieve a Cloud services (see https://msdn.microsoft.com/en-us/library/windowsazure/XXXXXXX.aspx for more information)
Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (em Microsoft.WindowsAzure.Management.Automation.dll)
Uso
'Uso
Dim instance As ICloudServiceOperations
Dim cloudServiceName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of CloudServiceGetResponse)
returnValue = instance.GetAsync(cloudServiceName, cancellationToken)
Sintaxe
'Declaração
Function GetAsync ( _
cloudServiceName As String, _
cancellationToken As CancellationToken _
) As Task(Of CloudServiceGetResponse)
Task<CloudServiceGetResponse> GetAsync (
string cloudServiceName,
CancellationToken cancellationToken
)
Task<CloudServiceGetResponse^>^ GetAsync (
String^ cloudServiceName,
CancellationToken cancellationToken
)
Task<CloudServiceGetResponse> GetAsync (
String cloudServiceName,
CancellationToken cancellationToken
)
function GetAsync (
cloudServiceName : String,
cancellationToken : CancellationToken
) : Task<CloudServiceGetResponse>
Parâmetros
- cloudServiceName
Cloud service name.
- cancellationToken
Cancellation token.
Valor de retorno
The response model for the get cloud service operation.
Segurança de thread
Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows 7 e Windows Server 2008
Plataformas de destino
Consulte também
Referência
Interface ICloudServiceOperations
Membros ICloudServiceOperations
Namespace Microsoft.WindowsAzure.Management.Automation