CompileWorkflowCleanupTask Kelas

Definisi

Perhatian

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

Menentukan tugas MSBuild untuk menghapus konten file sementara yang digunakan saat mengkompilasi alur kerja yang dibuat menggunakan Visual Basic. Isi file sementara dihapus tetapi file tidak dihapus. Kelas ini tidak dapat diwariskan.

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
Warisan
CompileWorkflowCleanupTask
Atribut
Penerapan

Keterangan

Note

Materi ini membahas jenis dan namespace yang usang. Untuk informasi selengkapnya, lihat jenis Deprecated di Windows Workflow Foundation 4.5.

Kelas ini memperluas kelas Microsoft Build Task. Kelas harus digunakan saat mengkompilasi jenis Windows Workflow Foundation dari proyek Visual Basic.

Konstruktor

Nama Deskripsi
CompileWorkflowCleanupTask()
Kedaluwarsa.

Menginisialisasi instans baru dari kelas CompileWorkflowCleanupTask.

Properti

Nama Deskripsi
TemporaryFiles
Kedaluwarsa.

Mendapatkan atau mengatur array jalur ke file sementara yang dibuat saat mengkompilasi alur kerja yang dibuat menggunakan Visual Basic .NET.

Metode

Nama Deskripsi
Execute()
Kedaluwarsa.

Menghapus konten file yang ditentukan dalam TemporaryFiles properti, tanpa menghapus file.

Berlaku untuk