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
- instanceId
Type: System.Guid
Implements
ITeamFoundationTaskService.AddTask(Guid, TeamFoundationTask)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.