TeamFoundationTaskService.AddTask Method (TeamFoundationRequestContext, TeamFoundationTaskCallback)
Adds a task for the specified callback 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, _
callback As TeamFoundationTaskCallback _
)
public void AddTask(
TeamFoundationRequestContext requestContext,
TeamFoundationTaskCallback callback
)
public:
virtual void AddTask(
TeamFoundationRequestContext^ requestContext,
TeamFoundationTaskCallback^ callback
) sealed
abstract AddTask :
requestContext:TeamFoundationRequestContext *
callback:TeamFoundationTaskCallback -> unit
override AddTask :
requestContext:TeamFoundationRequestContext *
callback:TeamFoundationTaskCallback -> unit
public final function AddTask(
requestContext : TeamFoundationRequestContext,
callback : TeamFoundationTaskCallback
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
callback
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationTaskCallbackThe task callback for the task to be added.
Implements
ITeamFoundationTaskService.AddTask(TeamFoundationRequestContext, TeamFoundationTaskCallback)
.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.