ServiceContractGenerationContext 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 ServiceContractGenerationContext-Klasse.
Überlädt
| Name | Beschreibung |
|---|---|
| ServiceContractGenerationContext(ServiceContractGenerator, ContractDescription, CodeTypeDeclaration) |
Initialisiert eine neue Instanz der ServiceContractGenerationContext Klasse mithilfe des angegebenen Vertragsgenerators, der Vertragsbeschreibung und der Vertragscodetypdeklaration. |
| ServiceContractGenerationContext(ServiceContractGenerator, ContractDescription, CodeTypeDeclaration, CodeTypeDeclaration) |
Initialisiert eine neue Instanz der ServiceContractGenerationContext Klasse mithilfe des angegebenen Vertragsgenerators, der Vertragsbeschreibung und der Vertragscodetypdeklaration. |
ServiceContractGenerationContext(ServiceContractGenerator, ContractDescription, CodeTypeDeclaration)
Initialisiert eine neue Instanz der ServiceContractGenerationContext Klasse mithilfe des angegebenen Vertragsgenerators, der Vertragsbeschreibung und der Vertragscodetypdeklaration.
public:
ServiceContractGenerationContext(System::ServiceModel::Description::ServiceContractGenerator ^ serviceContractGenerator, System::ServiceModel::Description::ContractDescription ^ contract, System::CodeDom::CodeTypeDeclaration ^ contractType);
public ServiceContractGenerationContext(System.ServiceModel.Description.ServiceContractGenerator serviceContractGenerator, System.ServiceModel.Description.ContractDescription contract, System.CodeDom.CodeTypeDeclaration contractType);
new System.ServiceModel.Description.ServiceContractGenerationContext : System.ServiceModel.Description.ServiceContractGenerator * System.ServiceModel.Description.ContractDescription * System.CodeDom.CodeTypeDeclaration -> System.ServiceModel.Description.ServiceContractGenerationContext
Public Sub New (serviceContractGenerator As ServiceContractGenerator, contract As ContractDescription, contractType As CodeTypeDeclaration)
Parameter
- serviceContractGenerator
- ServiceContractGenerator
Der Generator, der den Code für den Vertrag generiert.
- contract
- ContractDescription
Die Vertragsbeschreibung für den zu generierenden Vertrag.
- contractType
- CodeTypeDeclaration
Der CodeTypeDeclaration zu generierende Vertragscode.
Gilt für:
ServiceContractGenerationContext(ServiceContractGenerator, ContractDescription, CodeTypeDeclaration, CodeTypeDeclaration)
Initialisiert eine neue Instanz der ServiceContractGenerationContext Klasse mithilfe des angegebenen Vertragsgenerators, der Vertragsbeschreibung und der Vertragscodetypdeklaration.
public:
ServiceContractGenerationContext(System::ServiceModel::Description::ServiceContractGenerator ^ serviceContractGenerator, System::ServiceModel::Description::ContractDescription ^ contract, System::CodeDom::CodeTypeDeclaration ^ contractType, System::CodeDom::CodeTypeDeclaration ^ duplexCallbackType);
public ServiceContractGenerationContext(System.ServiceModel.Description.ServiceContractGenerator serviceContractGenerator, System.ServiceModel.Description.ContractDescription contract, System.CodeDom.CodeTypeDeclaration contractType, System.CodeDom.CodeTypeDeclaration duplexCallbackType);
new System.ServiceModel.Description.ServiceContractGenerationContext : System.ServiceModel.Description.ServiceContractGenerator * System.ServiceModel.Description.ContractDescription * System.CodeDom.CodeTypeDeclaration * System.CodeDom.CodeTypeDeclaration -> System.ServiceModel.Description.ServiceContractGenerationContext
Public Sub New (serviceContractGenerator As ServiceContractGenerator, contract As ContractDescription, contractType As CodeTypeDeclaration, duplexCallbackType As CodeTypeDeclaration)
Parameter
- serviceContractGenerator
- ServiceContractGenerator
Der Generator, der den Code für den Vertrag generiert.
- contract
- ContractDescription
Die Vertragsbeschreibung für den zu generierenden Vertrag.
- contractType
- CodeTypeDeclaration
Der CodeTypeDeclaration zu generierende Vertragscode.
- duplexCallbackType
- CodeTypeDeclaration
Der CodeTypeDeclaration zu generierende Duplexvertragscode.