Share via


IHostedServiceOperations.GetDetailedAsync Method

Asynchronously retrieves a more detailed listing of system properties for the specified cloud service.

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

Usage

'Usage
Dim instance As IHostedServiceOperations
Dim serviceName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of HostedServiceGetDetailedResponse)

returnValue = instance.GetDetailedAsync(serviceName, cancellationToken)

Syntax

'Declaration
Function GetDetailedAsync ( _
    serviceName As String, _
    cancellationToken As CancellationToken _
) As Task(Of HostedServiceGetDetailedResponse)
Task<HostedServiceGetDetailedResponse> GetDetailedAsync (
    string serviceName,
    CancellationToken cancellationToken
)
Task<HostedServiceGetDetailedResponse^>^ GetDetailedAsync (
    String^ serviceName, 
    CancellationToken cancellationToken
)
Task<HostedServiceGetDetailedResponse> GetDetailedAsync (
    String serviceName, 
    CancellationToken cancellationToken
)
function GetDetailedAsync (
    serviceName : String, 
    cancellationToken : CancellationToken
) : Task<HostedServiceGetDetailedResponse>

Parameters

  • serviceName
    The name of the cloud service for which information should be retrieved.
  • cancellationToken
    The cancellation token.

Return Value

The HostedServiceGetDetailedResponse object that contains the detailed information about the cloud service.

Remarks

These properties include the service name and service type; the name of the affinity group to which the service belongs, or its location if it is not part of an affinity group; and additional information about the deployments of the service.

For more information about retrieving cloud service information, see the following resources:

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

IHostedServiceOperations Interface
IHostedServiceOperations Members
Microsoft.WindowsAzure.Management.Compute Namespace