Delen via


TeamFoundationTaskService.AddTask Method (TeamFoundationRequestContext, TeamFoundationTask)

Adds the task to the service.

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

Syntax

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

Parameters

Implements

ITeamFoundationTaskService.AddTask(TeamFoundationRequestContext, TeamFoundationTask)

.NET Framework Security

See Also

Reference

TeamFoundationTaskService Class

AddTask Overload

Microsoft.TeamFoundation.Framework.Server Namespace