ActivityCodeGeneratorAttribute Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar en ny instans av ActivityCodeGeneratorAttribute klassen.
Överlagringar
| Name | Description |
|---|---|
| ActivityCodeGeneratorAttribute(String) |
Initierar en ny instans av ActivityCodeGeneratorAttribute klassen och initierar CodeGeneratorTypeNameäven . |
| ActivityCodeGeneratorAttribute(Type) |
Initierar en ny instans av ActivityCodeGeneratorAttribute klassen från en kodgenerator Type. |
ActivityCodeGeneratorAttribute(String)
Initierar en ny instans av ActivityCodeGeneratorAttribute klassen och initierar CodeGeneratorTypeNameäven .
public:
ActivityCodeGeneratorAttribute(System::String ^ codeGeneratorTypeName);
public ActivityCodeGeneratorAttribute(string codeGeneratorTypeName);
new System.Workflow.ComponentModel.Compiler.ActivityCodeGeneratorAttribute : string -> System.Workflow.ComponentModel.Compiler.ActivityCodeGeneratorAttribute
Public Sub New (codeGeneratorTypeName As String)
Parametrar
- codeGeneratorTypeName
- String
Det angivna värdet för CodeGeneratorTypeName.
Undantag
codeGeneratorTypeName är en nullreferens (Nothing i Visual Basic).
Gäller för
ActivityCodeGeneratorAttribute(Type)
Initierar en ny instans av ActivityCodeGeneratorAttribute klassen från en kodgenerator Type.
public:
ActivityCodeGeneratorAttribute(Type ^ codeGeneratorType);
public ActivityCodeGeneratorAttribute(Type codeGeneratorType);
new System.Workflow.ComponentModel.Compiler.ActivityCodeGeneratorAttribute : Type -> System.Workflow.ComponentModel.Compiler.ActivityCodeGeneratorAttribute
Public Sub New (codeGeneratorType As Type)
Parametrar
Undantag
codeGeneratorType är en nullreferens (Nothing i Visual Basic).
codeGeneratorType kan inte tilldelas till typen av en kodgenerator eller har ingen parameterlös konstruktor.