IHostedServiceOperations::DeleteAsync Method (String^, CancellationToken)
Asynchronously deletes the specified cloud service from a subscription.
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
Task<AzureOperationResponse^>^ DeleteAsync( String^ serviceName, CancellationToken cancellationToken )
Parameters
- serviceName
-
Type:
System::String^
The name of the cloud service to delete from the subscription.
- cancellationToken
-
Type:
System.Threading::CancellationToken
The cancellation token.
Return Value
Type: System.Threading.Tasks::Task<AzureOperationResponse^>^An OperationResponse object that includes an HTTP status code and request ID.
For more information about delete cloud services, see the following resources:
Show: