ActivityCodeGenerator.GenerateCode(CodeGenerationManager, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates code for the specified Object using the specific CodeGenerationManager.
public:
virtual void GenerateCode(System::Workflow::ComponentModel::Compiler::CodeGenerationManager ^ manager, System::Object ^ obj);
public virtual void GenerateCode (System.Workflow.ComponentModel.Compiler.CodeGenerationManager manager, object obj);
abstract member GenerateCode : System.Workflow.ComponentModel.Compiler.CodeGenerationManager * obj -> unit
override this.GenerateCode : System.Workflow.ComponentModel.Compiler.CodeGenerationManager * obj -> unit
Public Overridable Sub GenerateCode (manager As CodeGenerationManager, obj As Object)
Parameters
- manager
- CodeGenerationManager
The CodeGenerationManager to use in the code generation.
Exceptions
manager
is a null reference (Nothing
in Visual Basic).
-or-
obj
is a null reference (Nothing
).
obj
cannot be cast to type Activity.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.