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:
void AddTask(
Guid instanceId,
TeamFoundationTask^ task
)
member AddTask :
instanceId:Guid *
task:TeamFoundationTask -> unit
public function AddTask(
instanceId : Guid,
task : TeamFoundationTask
)
Parameters
- instanceId
Type: System.Guid
.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.