OperationContractGenerationContext Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue Instanz der OperationContractGenerationContext-Klasse.
Überlädt
OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod)
Initialisiert eine neue Instanz der OperationContractGenerationContext-Klasse mit dem angegebenen Vertragsgenerator und -kontext sowie der angegebenen Vorgangsbeschreibung, Codetypdeklaration, Synchronisierungsmethode und Aufgabenmethode.
public:
OperationContractGenerationContext(System::ServiceModel::Description::ServiceContractGenerator ^ serviceContractGenerator, System::ServiceModel::Description::ServiceContractGenerationContext ^ contract, System::ServiceModel::Description::OperationDescription ^ operation, System::CodeDom::CodeTypeDeclaration ^ declaringType, System::CodeDom::CodeMemberMethod ^ method);
public OperationContractGenerationContext (System.ServiceModel.Description.ServiceContractGenerator serviceContractGenerator, System.ServiceModel.Description.ServiceContractGenerationContext contract, System.ServiceModel.Description.OperationDescription operation, System.CodeDom.CodeTypeDeclaration declaringType, System.CodeDom.CodeMemberMethod method);
new System.ServiceModel.Description.OperationContractGenerationContext : System.ServiceModel.Description.ServiceContractGenerator * System.ServiceModel.Description.ServiceContractGenerationContext * System.ServiceModel.Description.OperationDescription * System.CodeDom.CodeTypeDeclaration * System.CodeDom.CodeMemberMethod -> System.ServiceModel.Description.OperationContractGenerationContext
Public Sub New (serviceContractGenerator As ServiceContractGenerator, contract As ServiceContractGenerationContext, operation As OperationDescription, declaringType As CodeTypeDeclaration, method As CodeMemberMethod)
Parameter
- serviceContractGenerator
- ServiceContractGenerator
Der Dienstvertragsgenerator, der den Code generiert.
- contract
- ServiceContractGenerationContext
Der Vertrag und dessen Generierungskontext.
- operation
- OperationDescription
Die Vorgangsbeschreibung für den zu generierenden Vorgang.
- declaringType
- CodeTypeDeclaration
Der deklarierende Codetyp.
- method
- CodeMemberMethod
Die zu generierende Methode.
Gilt für:
OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod)
Initialisiert eine neue Instanz der OperationContractGenerationContext-Klasse mit dem angegebenen Vertragsgenerator und -kontext sowie der angegebenen Vorgangsbeschreibung, Codetypdeklaration und Methode.
public:
OperationContractGenerationContext(System::ServiceModel::Description::ServiceContractGenerator ^ serviceContractGenerator, System::ServiceModel::Description::ServiceContractGenerationContext ^ contract, System::ServiceModel::Description::OperationDescription ^ operation, System::CodeDom::CodeTypeDeclaration ^ declaringType, System::CodeDom::CodeMemberMethod ^ syncMethod, System::CodeDom::CodeMemberMethod ^ taskMethod);
public OperationContractGenerationContext (System.ServiceModel.Description.ServiceContractGenerator serviceContractGenerator, System.ServiceModel.Description.ServiceContractGenerationContext contract, System.ServiceModel.Description.OperationDescription operation, System.CodeDom.CodeTypeDeclaration declaringType, System.CodeDom.CodeMemberMethod syncMethod, System.CodeDom.CodeMemberMethod taskMethod);
new System.ServiceModel.Description.OperationContractGenerationContext : System.ServiceModel.Description.ServiceContractGenerator * System.ServiceModel.Description.ServiceContractGenerationContext * System.ServiceModel.Description.OperationDescription * System.CodeDom.CodeTypeDeclaration * System.CodeDom.CodeMemberMethod * System.CodeDom.CodeMemberMethod -> System.ServiceModel.Description.OperationContractGenerationContext
Public Sub New (serviceContractGenerator As ServiceContractGenerator, contract As ServiceContractGenerationContext, operation As OperationDescription, declaringType As CodeTypeDeclaration, syncMethod As CodeMemberMethod, taskMethod As CodeMemberMethod)
Parameter
- serviceContractGenerator
- ServiceContractGenerator
Der Dienstvertragsgenerator, der den Code generiert.
- contract
- ServiceContractGenerationContext
Der Vertrag und dessen Generierungskontext.
- operation
- OperationDescription
Die Vorgangsbeschreibung für den zu generierenden Vorgang.
- declaringType
- CodeTypeDeclaration
Der deklarierende Codetyp.
- syncMethod
- CodeMemberMethod
Die zu synchronisierende Methode, die erstellt werden soll.
- taskMethod
- CodeMemberMethod
Die verwendete Aufgabenmethode.
Gilt für:
OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod, CodeMemberMethod)
Initialisiert eine neue Instanz der OperationContractGenerationContext-Klasse.
public:
OperationContractGenerationContext(System::ServiceModel::Description::ServiceContractGenerator ^ serviceContractGenerator, System::ServiceModel::Description::ServiceContractGenerationContext ^ contract, System::ServiceModel::Description::OperationDescription ^ operation, System::CodeDom::CodeTypeDeclaration ^ declaringType, System::CodeDom::CodeMemberMethod ^ syncMethod, System::CodeDom::CodeMemberMethod ^ beginMethod, System::CodeDom::CodeMemberMethod ^ endMethod);
public OperationContractGenerationContext (System.ServiceModel.Description.ServiceContractGenerator serviceContractGenerator, System.ServiceModel.Description.ServiceContractGenerationContext contract, System.ServiceModel.Description.OperationDescription operation, System.CodeDom.CodeTypeDeclaration declaringType, System.CodeDom.CodeMemberMethod syncMethod, System.CodeDom.CodeMemberMethod beginMethod, System.CodeDom.CodeMemberMethod endMethod);
new System.ServiceModel.Description.OperationContractGenerationContext : System.ServiceModel.Description.ServiceContractGenerator * System.ServiceModel.Description.ServiceContractGenerationContext * System.ServiceModel.Description.OperationDescription * System.CodeDom.CodeTypeDeclaration * System.CodeDom.CodeMemberMethod * System.CodeDom.CodeMemberMethod * System.CodeDom.CodeMemberMethod -> System.ServiceModel.Description.OperationContractGenerationContext
Public Sub New (serviceContractGenerator As ServiceContractGenerator, contract As ServiceContractGenerationContext, operation As OperationDescription, declaringType As CodeTypeDeclaration, syncMethod As CodeMemberMethod, beginMethod As CodeMemberMethod, endMethod As CodeMemberMethod)
Parameter
- serviceContractGenerator
- ServiceContractGenerator
Der Dienstvertragsgenerator, der den Code generiert.
- contract
- ServiceContractGenerationContext
Der Vertrag und dessen Generierungskontext.
- operation
- OperationDescription
Die Vorgangsbeschreibung für den zu generierenden Vorgang.
- declaringType
- CodeTypeDeclaration
Der deklarierende Codetyp.
- syncMethod
- CodeMemberMethod
Die synchrone Methode.
- beginMethod
- CodeMemberMethod
Die asynchrone Anfangsmethode.
- endMethod
- CodeMemberMethod
Die asynchrone Abschlussmethode.
Gilt für:
OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod, CodeMemberMethod, CodeMemberMethod)
Initialisiert eine neue Instanz der OperationContractGenerationContext-Klasse mit dem angegebenen Vertragsgenerator und -kontext sowie der angegebenen Vorgangsbeschreibung, Codetypdeklaration, Synchronisierungsmethode Anfangsmethode, Endemethode und Aufgabenmethode.
public:
OperationContractGenerationContext(System::ServiceModel::Description::ServiceContractGenerator ^ serviceContractGenerator, System::ServiceModel::Description::ServiceContractGenerationContext ^ contract, System::ServiceModel::Description::OperationDescription ^ operation, System::CodeDom::CodeTypeDeclaration ^ declaringType, System::CodeDom::CodeMemberMethod ^ syncMethod, System::CodeDom::CodeMemberMethod ^ beginMethod, System::CodeDom::CodeMemberMethod ^ endMethod, System::CodeDom::CodeMemberMethod ^ taskMethod);
public OperationContractGenerationContext (System.ServiceModel.Description.ServiceContractGenerator serviceContractGenerator, System.ServiceModel.Description.ServiceContractGenerationContext contract, System.ServiceModel.Description.OperationDescription operation, System.CodeDom.CodeTypeDeclaration declaringType, System.CodeDom.CodeMemberMethod syncMethod, System.CodeDom.CodeMemberMethod beginMethod, System.CodeDom.CodeMemberMethod endMethod, System.CodeDom.CodeMemberMethod taskMethod);
new System.ServiceModel.Description.OperationContractGenerationContext : System.ServiceModel.Description.ServiceContractGenerator * System.ServiceModel.Description.ServiceContractGenerationContext * System.ServiceModel.Description.OperationDescription * System.CodeDom.CodeTypeDeclaration * System.CodeDom.CodeMemberMethod * System.CodeDom.CodeMemberMethod * System.CodeDom.CodeMemberMethod * System.CodeDom.CodeMemberMethod -> System.ServiceModel.Description.OperationContractGenerationContext
Public Sub New (serviceContractGenerator As ServiceContractGenerator, contract As ServiceContractGenerationContext, operation As OperationDescription, declaringType As CodeTypeDeclaration, syncMethod As CodeMemberMethod, beginMethod As CodeMemberMethod, endMethod As CodeMemberMethod, taskMethod As CodeMemberMethod)
Parameter
- serviceContractGenerator
- ServiceContractGenerator
Der Dienstvertragsgenerator, der den Code generiert.
- contract
- ServiceContractGenerationContext
Der Vertrag und dessen Generierungskontext.
- operation
- OperationDescription
Die Vorgangsbeschreibung für den zu generierenden Vorgang.
- declaringType
- CodeTypeDeclaration
Der deklarierende Codetyp.
- syncMethod
- CodeMemberMethod
Die zu synchronisierende Methode, die erstellt werden soll.
- beginMethod
- CodeMemberMethod
Die asynchrone Anfangsmethode.
- endMethod
- CodeMemberMethod
Die asynchrone Abschlussmethode.
- taskMethod
- CodeMemberMethod
Die verwendete Aufgabenmethode.