PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Tasks Namespace / Remove­Task Class / Remove­Task Methods / Remove­Task.​Get­Task Method

RemoveTask.GetTask Method

Finds the RemoveTask task instance in a Project.

Namespace:  PostSharp.Sdk.Extensibility.Tasks
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public static RemoveTask GetTask(
	Project project
)

Parameters

project
Type: PostSharp.Sdk.Extensibility.Project
The project.

Return Value

Type: RemoveTask
The RemoveTask task instance.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe task Remove is not present in this project.
See Also