Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
task
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationTaskThe task to add.
Implements
ITeamFoundationTaskService.AddTask(TeamFoundationRequestContext, 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.