Language

ITaskStore.ResolveTask Method

Definition

Overloads

Name Description
ResolveTask(Guid, String)

Resolves a task from the store using the unqiue identifier and version.

ResolveTask(String, String)

Resolves a task from the store using the specified name and version.

ResolveTask(Guid, String)

Resolves a task from the store using the unqiue identifier and version.

public Microsoft.TeamFoundation.DistributedTask.WebApi.TaskDefinition ResolveTask(Guid taskId, string version);
abstract member ResolveTask : Guid * string -> Microsoft.TeamFoundation.DistributedTask.WebApi.TaskDefinition
Public Function ResolveTask (taskId As Guid, version As String) As TaskDefinition

Parameters

taskId
Guid

The unique identifier of the task

version
String

The version of the task which is desired

Returns

The closest matching task definition if found; otherwise, null

Applies to

ResolveTask(String, String)

Resolves a task from the store using the specified name and version.

public Microsoft.TeamFoundation.DistributedTask.WebApi.TaskDefinition ResolveTask(string name, string version);
abstract member ResolveTask : string * string -> Microsoft.TeamFoundation.DistributedTask.WebApi.TaskDefinition
Public Function ResolveTask (name As String, version As String) As TaskDefinition

Parameters

name
String

The name of the task

version
String

The version of the task which is desired

Returns

The closest matching task definition if found; otherwise, null

Applies to