TeamFoundationTaskService.RemoveTask Method (TeamFoundationRequestContext, TeamFoundationTask)
Remove the task from the service.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub RemoveTask ( _
requestContext As TeamFoundationRequestContext, _
task As TeamFoundationTask _
)
public void RemoveTask(
TeamFoundationRequestContext requestContext,
TeamFoundationTask task
)
public:
virtual void RemoveTask(
TeamFoundationRequestContext^ requestContext,
TeamFoundationTask^ task
) sealed
abstract RemoveTask :
requestContext:TeamFoundationRequestContext *
task:TeamFoundationTask -> unit
override RemoveTask :
requestContext:TeamFoundationRequestContext *
task:TeamFoundationTask -> unit
public final function RemoveTask(
requestContext : TeamFoundationRequestContext,
task : TeamFoundationTask
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
task
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationTaskThe task to remove.
Implements
ITeamFoundationTaskService.RemoveTask(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.