Partager via


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

Implements

ITeamFoundationTaskService.AddTask(TeamFoundationRequestContext, TeamFoundationTaskCallback)

.NET Framework Security

See Also

Reference

TeamFoundationTaskService Class

AddTask Overload

Microsoft.TeamFoundation.Framework.Server Namespace