WorkflowCompilerParameters Class
Represents parameters passed to WorkflowCompiler during the compilation process.
System.CodeDom.Compiler::CompilerParameters
System.Workflow.ComponentModel.Compiler::WorkflowCompilerParameters
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
The WorkflowCompilerParameters type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | WorkflowCompilerParameters() | Initializes a new instance of the WorkflowCompilerParameters class. |
![]() | WorkflowCompilerParameters(array<String>) | Initializes a new instance of the WorkflowCompilerParameters class, with the names of the assemblies used in compilation. |
![]() | WorkflowCompilerParameters(WorkflowCompilerParameters) | Initializes a new instance of the WorkflowCompilerParameters class from an existing instance. |
![]() | WorkflowCompilerParameters(array<String>, String) | Initializes a new instance of the WorkflowCompilerParameters class, with the names of the assemblies used in compilation, and the name to apply to the output file. |
![]() | WorkflowCompilerParameters(array<String>, String, Boolean) | Initializes a new instance of the WorkflowCompilerParameters class, with the names of the assemblies used in compilation, and the name to apply to the output file, and the designator for inclusion of debug information. |
| Name | Description | |
|---|---|---|
![]() | CompilerOptions | Gets or sets a string that contains command-line options for this compilation. |
![]() | EmbeddedResources | Gets the .NET Framework resource files to include when compiling the assembly output. (Inherited from CompilerParameters.) |
![]() | Evidence | Obsolete. Specifies an evidence object that represents the security policy permissions to grant the compiled assembly. (Inherited from CompilerParameters.) |
![]() | GenerateCodeCompileUnitOnly | Gets or sets a value which indicates whether to generate only a CodeCompileUnit, or to call the C# or Visual Basic compiler to generate the executable or DLL. |
![]() | GenerateExecutable | Gets or sets a value indicating whether to generate an executable. (Inherited from CompilerParameters.) |
![]() | GenerateInMemory | Gets or sets a value indicating whether to generate the output in memory. (Inherited from CompilerParameters.) |
![]() | IncludeDebugInformation | Gets or sets a value indicating whether to include debug information in the compiled executable. (Inherited from CompilerParameters.) |
![]() | LanguageToUse | Gets or sets a string which contains the language to use in compilation of the CodeCompileUnit. |
![]() | LibraryPaths | Gets the property that represents a collection of directory names under which compiler looks for referenced assemblies. |
![]() | LinkedResources | Gets the .NET Framework resource files that are referenced in the current source. (Inherited from CompilerParameters.) |
![]() | MainClass | Gets or sets the name of the main class. (Inherited from CompilerParameters.) |
![]() | OutputAssembly | Gets or sets the name of the output assembly. (Inherited from CompilerParameters.) |
![]() | ReferencedAssemblies | Gets the assemblies referenced by the current project. (Inherited from CompilerParameters.) |
![]() | TempFiles | Gets or sets the collection that contains the temporary files. (Inherited from CompilerParameters.) |
![]() | TreatWarningsAsErrors | Gets or sets a value indicating whether to treat warnings as errors. (Inherited from CompilerParameters.) |
![]() | UserCodeCompileUnits | Gets or sets the collection of code compile units which will be used in this invocation of the workflow compiler. |
![]() | UserToken | Gets or sets the user token to use when creating the compiler process. (Inherited from CompilerParameters.) |
![]() | WarningLevel | Gets or sets the warning level at which the compiler aborts compilation. (Inherited from CompilerParameters.) |
![]() | Win32Resource | Gets or sets the file name of a Win32 resource file to link into the compiled assembly. (Inherited from CompilerParameters.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
The following code example demonstrates how to create a new instance of the WorkflowCompilerParameters class, add LibraryPaths and set the value for the CompilerParameters::OutputAssembly property. The code also creates a new instance of the WorkflowCompiler class and runs the WorkflowCompiler::Compile method. 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
