WorkflowCompiler Class
Represents the compiler for workflows that are developed using C# or Visual Basic code and/or XAML markup. This class cannot be inherited.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
| Name | Description | |
|---|---|---|
![]() | WorkflowCompiler() | Initializes a new instance of the WorkflowCompiler class. |
| Name | Description | |
|---|---|---|
![]() | Compile(WorkflowCompilerParameters^, array<String^>^) | Compiles a list of workflows contained in the files that are passed as parameters based on the WorkflowCompilerParameters. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
Note |
|---|
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5. |
The following code example demonstrates how to create a new instance of the WorkflowCompiler class and run the Compile method. The code also creates a new instance of the WorkflowCompilerParameters class and sets some of its values. This code assumes that results is of type WorkflowCompilerResults. This code example is part of the Outlook Workflow Wizard SDK sample from the WizardForm.cs file. For more information, see Outlook Workflow Wizard.
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.

