ActivityCodeGenerator.GenerateCode Method (CodeGenerationManager, Object)

 

Generates code for the specified Object using the specific CodeGenerationManager.

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

public virtual void GenerateCode(
	CodeGenerationManager manager,
	object obj
)

Parameters

manager
Type: System.Workflow.ComponentModel.Compiler.CodeGenerationManager

The CodeGenerationManager to use in the code generation.

obj
Type: System.Object

The Object to generate the code for.

Exception Condition
ArgumentNullException

manager is a null reference (Nothing in Visual Basic).

ArgumentNullException

obj is a null reference (Nothing).

ArgumentException

obj cannot be cast to type Activity.

.NET Framework
Available since 3.0
Return to top
Show: