Delete Delete Delete Delete Class

Definition

Implements the Delete task. Use the Delete element in your project file to create and execute this task. For usage and parameter information, see Delete Task.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class Delete sealed : Microsoft::Build::Tasks::TaskExtension, Microsoft::Build::Framework::ICancelableTask
public sealed class Delete : Microsoft.Build.Tasks.TaskExtension, Microsoft.Build.Framework.ICancelableTask
type Delete = class
    inherit TaskExtension
    interface ICancelableTask
    interface ITask
Public NotInheritable Class Delete
Inherits TaskExtension
Implements ICancelableTask
Inheritance
Implements

Constructors

Delete() Delete() Delete() Delete()

Initializes a new instance of the Delete class.

Properties

BuildEngine BuildEngine BuildEngine BuildEngine

Gets or sets the instance of the IBuildEngine object used by the task.

(Inherited from Task)
BuildEngine2 BuildEngine2 BuildEngine2 BuildEngine2

Gets the instance of the IBuildEngine2 object used by the task.

(Inherited from Task)
BuildEngine3 BuildEngine3 BuildEngine3 BuildEngine3

Gets the instance of the IBuildEngine3 object used by the task.

(Inherited from Task)
BuildEngine4 BuildEngine4 BuildEngine4 BuildEngine4

Gets the instance of the IBuildEngine4 object used by the task.

(Inherited from Task)
DeletedFiles DeletedFiles DeletedFiles DeletedFiles

Gets or sets the files that were successfully deleted.

Files Files Files Files

Gets or sets the files to delete.

HelpKeywordPrefix HelpKeywordPrefix HelpKeywordPrefix HelpKeywordPrefix

Gets or sets the prefix used to compose Help keywords from resource names.

(Inherited from Task)
HostObject HostObject HostObject HostObject

Gets or sets the host object associated with the task.

(Inherited from Task)
Log Log Log Log

Gets an instance of a TaskLoggingHelperExtension containing task logging methods.

(Inherited from TaskExtension)
TaskResources TaskResources TaskResources TaskResources

Gets or sets the culture-specific resources associated with the task.

(Inherited from Task)
TreatErrorsAsWarnings TreatErrorsAsWarnings TreatErrorsAsWarnings TreatErrorsAsWarnings

Gets or sets a Boolean value that indicates whether errors are logged as warnings.

Methods

Cancel() Cancel() Cancel() Cancel()

Stop and return (in an undefined state) as soon as possible.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Execute() Execute() Execute() Execute()

Executes the Delete task.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to