Condividi tramite


TeamFoundationTaskService.AddTask Method (Guid, TeamFoundationTask)

Adds a task for the given host.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub AddTask ( _
    instanceId As Guid, _
    task As TeamFoundationTask _
)
public void AddTask(
    Guid instanceId,
    TeamFoundationTask task
)
public:
virtual void AddTask(
    Guid instanceId, 
    TeamFoundationTask^ task
) sealed
abstract AddTask : 
        instanceId:Guid * 
        task:TeamFoundationTask -> unit  
override AddTask : 
        instanceId:Guid * 
        task:TeamFoundationTask -> unit
public final function AddTask(
    instanceId : Guid, 
    task : TeamFoundationTask
)

Parameters

Implements

ITeamFoundationTaskService.AddTask(Guid, TeamFoundationTask)

.NET Framework Security

See Also

Reference

TeamFoundationTaskService Class

AddTask Overload

Microsoft.TeamFoundation.Framework.Server Namespace