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:
void RemoveTask(
TeamFoundationRequestContext^ requestContext,
TeamFoundationTask^ task
)
member RemoveTask :
requestContext:TeamFoundationRequestContext *
task:TeamFoundationTask -> unit
public 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.
.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.