CompileWorkflowTask Class

CompileWorkflowTask Class

 
Note: This API is now obsolete.

Represents the MSBuild task of compiling a workflow. This class cannot be inherited.

Namespace:   System.Workflow.ComponentModel.Compiler
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

System.Object
  Microsoft.Build.Utilities.Task
    System.Workflow.ComponentModel.Compiler.CompileWorkflowTask

[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class CompileWorkflowTask : Task, ITask

NameDescription
System_CAPS_pubmethodCompileWorkflowTask()

Initializes a new instance of the CompileWorkflowTask class.

NameDescription
System_CAPS_pubpropertyAssemblyName

Gets and sets the name of the assembly that is built during compilation.

System_CAPS_pubpropertyBuildEngine

Gets or sets the instance of the IBuildEngine object used by the task.(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine2

Gets the instance of the IBuildEngine2 object used by the task.(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine3

Gets the instance of the IBuildEngine3 object used by the task.(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine4

Gets the instance of the IBuildEngine4 object used by the task.(Inherited from Task.)

System_CAPS_pubpropertyBuildingProject

Gets or sets a value that indicates whether this build task is currently building the workflow project.

System_CAPS_pubpropertyCompilationOptions

Gets or sets the compilation options.

System_CAPS_pubpropertyDelaySign

Gets or sets a value that indicates whether the workflow assembly will be delay signed.

System_CAPS_pubpropertyHostObject

Gets or sets the Object that is used to obtain services provided by the Visual Studio host when the compile workflow task is invoked.

System_CAPS_pubpropertyImports

Gets or sets a string that contains all the imports directives for the compilation of the workflow.

System_CAPS_pubpropertyKeepTemporaryFiles

Gets a Boolean value that determines whether temporary files are to be kept.

System_CAPS_pubpropertyKeyContainer

Gets or sets the name of the public/private key container used for signing the workflow assembly.

System_CAPS_pubpropertyKeyFile

Gets or sets the path of the file that is used for signing the workflow assembly.

System_CAPS_pubpropertyLog

Gets an instance of a TaskLoggingHelper class containing task logging methods.(Inherited from Task.)

System_CAPS_pubpropertyOutputFiles

Gets an array of paths to output files from the workflow project being compiled.

System_CAPS_pubpropertyProjectDirectory

Gets or sets a string that contains the path of the directory that contains the workflow project.

System_CAPS_pubpropertyProjectExtension

Gets or sets a string that contains the file name extension for the workflow project.

System_CAPS_pubpropertyReferenceFiles

Gets or sets an array of paths to reference files for the workflow project being compiled.

System_CAPS_pubpropertyResourceFiles

Gets or sets an array of paths to resource files for the workflow project being compiled.

System_CAPS_pubpropertyRootNamespace

Gets or sets the root namespace for the workflow project being compiled.

System_CAPS_pubpropertySourceCodeFiles

Gets or sets an array of paths to Visual Basic or C# files in the workflow project being compiled.

System_CAPS_pubpropertyTargetFramework

Gets or sets the target .NET Framework of the current project.

System_CAPS_pubpropertyTemporaryFiles

Gets an array of paths to temporary files created by the build task for the workflow project being compiled.

System_CAPS_pubpropertyWorkflowMarkupFiles

Gets or sets an array of paths to Workflow Markup Files for the workflow project being compiled.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodExecute()

Runs the compilation of the workflow task.(Overrides Task.Execute().)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privpropertyITask.HostObject

Gets or sets the Host Object in the Microsoft Build framework.

System_CAPS_noteNote

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. Methods of this class are invoked by the Microsoft Build framework to customize the build process when compiling Windows Workflow Foundation types of C# and Visual Basic projects. It provides support for compiling .xoml files into intermediate code files (either C# or Visual Basic). Workflows are validated before compiling.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft