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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈