TasksOperationsExtensions.DeleteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The DELETE method deletes a task, canceling it first if it's running.
public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.DataMigration.ITasksOperations operations, string groupName, string serviceName, string projectName, string taskName, bool? deleteRunningTasks = default, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.DataMigration.ITasksOperations * string * string * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As ITasksOperations, groupName As String, serviceName As String, projectName As String, taskName As String, Optional deleteRunningTasks As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- ITasksOperations
The operations group for this extension method.
- groupName
- String
Name of the resource group
- serviceName
- String
Name of the service
- projectName
- String
Name of the project
- taskName
- String
Name of the Task
- cancellationToken
- CancellationToken
The cancellation token.