Επεξεργασία

Κοινή χρήση μέσω


CompileWorkflowCleanupTask Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Defines an MSBuild task for erasing the contents of temporary files that are used when compiling workflows created using Visual Basic. The contents of the temporary files are erased but the files are not deleted. This class cannot be inherited.

public ref class CompileWorkflowCleanupTask sealed : Microsoft::Build::Utilities::Task, Microsoft::Build::Framework::ITask
public sealed class CompileWorkflowCleanupTask : Microsoft.Build.Utilities.Task, Microsoft.Build.Framework.ITask
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class CompileWorkflowCleanupTask : Microsoft.Build.Utilities.Task, Microsoft.Build.Framework.ITask
type CompileWorkflowCleanupTask = class
    inherit Task
    interface ITask
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type CompileWorkflowCleanupTask = class
    inherit Task
    interface ITask
Public NotInheritable Class CompileWorkflowCleanupTask
Inherits Task
Implements ITask
Inheritance
CompileWorkflowCleanupTask
Attributes
Implements

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

This class extends the Task class of Microsoft Build framework. The class should be used when compiling Windows Workflow Foundation types of Visual Basic projects.

Constructors

CompileWorkflowCleanupTask()

Initializes a new instance of the CompileWorkflowCleanupTask class.

Properties

TemporaryFiles

Gets or sets an array of paths to temporary files created when compiling workflows created using Visual Basic .NET.

Methods

Execute()

Erases the contents of the files specified in the TemporaryFiles property, without deleting the files.

Applies to