IHostedServiceOperations.GetDetailedAsync Method (String, CancellationToken)
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)
Syntax
Task<HostedServiceGetDetailedResponse> GetDetailedAsync(
string serviceName,
CancellationToken cancellationToken
)
Task<HostedServiceGetDetailedResponse^>^ GetDetailedAsync(
String^ serviceName,
CancellationToken cancellationToken
)
abstract GetDetailedAsync :
serviceName:string *
cancellationToken:CancellationToken -> Task<HostedServiceGetDetailedResponse>
Function GetDetailedAsync (
serviceName As String,
cancellationToken As CancellationToken
) As Task(Of HostedServiceGetDetailedResponse)
Parameters
serviceName
Type: System.StringThe name of the cloud service for which information should be retrieved.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<HostedServiceGetDetailedResponse>
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:
See Also
IHostedServiceOperations Interface
Microsoft.WindowsAzure.Management.Compute Namespace
Return to top