ISubscriptionOperations::RegisterResourceAsync Method (String^, CancellationToken)
Asynchronously registers a resource with a subscription.
Assembly: Microsoft.WindowsAzure.Management (in Microsoft.WindowsAzure.Management.dll)
Task<AzureOperationResponse^>^ RegisterResourceAsync( String^ resourceName, CancellationToken cancellationToken )
Parameters
- resourceName
-
Type:
System::String^
The name of the resource to register.
- 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.
Show: