/// <summary> /// Deletes a profile and all of its definitions. This operation cannot /// be reverted. (see /// http://msdn.microsoft.com/en-us/library/hh758256.aspx for more /// information) /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.WindowsAzure.Management.TrafficManager.IProfileOperations. /// </param> /// <param name='profileName'> /// Required. The name of the profile. /// </param> /// <returns> /// A standard service response including an HTTP status code and /// request ID. /// </returns> public static Task <AzureOperationResponse> DeleteAsync(this IProfileOperations operations, string profileName) { return(operations.DeleteAsync(profileName, CancellationToken.None)); }