ServiceContractGenerationContext 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 ServiceContractGenerationContext klassen.
Överlagringar
| Name | Description |
|---|---|
| ServiceContractGenerationContext(ServiceContractGenerator, ContractDescription, CodeTypeDeclaration) |
Initierar en ny instans av klassen med hjälp av den angivna kontraktsgeneratorn, kontraktsbeskrivningen och deklarationen av ServiceContractGenerationContext kontraktskodstyp. |
| ServiceContractGenerationContext(ServiceContractGenerator, ContractDescription, CodeTypeDeclaration, CodeTypeDeclaration) |
Initierar en ny instans av klassen med hjälp av den angivna kontraktsgeneratorn, kontraktsbeskrivningen och deklarationen av ServiceContractGenerationContext kontraktskodstyp. |
ServiceContractGenerationContext(ServiceContractGenerator, ContractDescription, CodeTypeDeclaration)
Initierar en ny instans av klassen med hjälp av den angivna kontraktsgeneratorn, kontraktsbeskrivningen och deklarationen av ServiceContractGenerationContext kontraktskodstyp.
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)
Parametrar
- serviceContractGenerator
- ServiceContractGenerator
Generatorn som genererar koden för kontraktet.
- contract
- ContractDescription
Kontraktsbeskrivningen för kontraktet som ska genereras.
- contractType
- CodeTypeDeclaration
CodeTypeDeclaration För kontraktkoden som ska genereras.
Gäller för
ServiceContractGenerationContext(ServiceContractGenerator, ContractDescription, CodeTypeDeclaration, CodeTypeDeclaration)
Initierar en ny instans av klassen med hjälp av den angivna kontraktsgeneratorn, kontraktsbeskrivningen och deklarationen av ServiceContractGenerationContext kontraktskodstyp.
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)
Parametrar
- serviceContractGenerator
- ServiceContractGenerator
Generatorn som genererar koden för kontraktet.
- contract
- ContractDescription
Kontraktsbeskrivningen för kontraktet som ska genereras.
- contractType
- CodeTypeDeclaration
CodeTypeDeclaration För kontraktkoden som ska genereras.
- duplexCallbackType
- CodeTypeDeclaration
CodeTypeDeclaration För duplex-kontraktskoden som ska genereras.