你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
TasksOperationsExtensions.ListAsync 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 services resource is the top-level resource that represents the Database Migration Service. This method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown, which indicates that an error occurred while querying the status of that task.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataMigration.Models.ProjectTask>> ListAsync (this Microsoft.Azure.Management.DataMigration.ITasksOperations operations, string groupName, string serviceName, string projectName, string taskType = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.DataMigration.ITasksOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataMigration.Models.ProjectTask>>
<Extension()>
Public Function ListAsync (operations As ITasksOperations, groupName As String, serviceName As String, projectName As String, Optional taskType As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ProjectTask))
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
- taskType
- String
Filter tasks by task type
- cancellationToken
- CancellationToken
The cancellation token.