ServiceContractGenerationContext Constructors

Definitie

Initialiseert een nieuw exemplaar van de ServiceContractGenerationContext klasse.

Overloads

Name Description
ServiceContractGenerationContext(ServiceContractGenerator, ContractDescription, CodeTypeDeclaration)

Initialiseert een nieuw exemplaar van de ServiceContractGenerationContext klasse met behulp van de opgegeven contractgenerator, contractbeschrijving en declaratie van het type contractcode.

ServiceContractGenerationContext(ServiceContractGenerator, ContractDescription, CodeTypeDeclaration, CodeTypeDeclaration)

Initialiseert een nieuw exemplaar van de ServiceContractGenerationContext klasse met behulp van de opgegeven contractgenerator, contractbeschrijving en declaratie van het type contractcode.

ServiceContractGenerationContext(ServiceContractGenerator, ContractDescription, CodeTypeDeclaration)

Initialiseert een nieuw exemplaar van de ServiceContractGenerationContext klasse met behulp van de opgegeven contractgenerator, contractbeschrijving en declaratie van het type contractcode.

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)

Parameters

serviceContractGenerator
ServiceContractGenerator

De generator die de code voor het contract genereert.

contract
ContractDescription

De contractbeschrijving voor het te genereren contract.

contractType
CodeTypeDeclaration

De CodeTypeDeclaration contractcode die moet worden gegenereerd.

Van toepassing op

ServiceContractGenerationContext(ServiceContractGenerator, ContractDescription, CodeTypeDeclaration, CodeTypeDeclaration)

Initialiseert een nieuw exemplaar van de ServiceContractGenerationContext klasse met behulp van de opgegeven contractgenerator, contractbeschrijving en declaratie van het type contractcode.

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)

Parameters

serviceContractGenerator
ServiceContractGenerator

De generator die de code voor het contract genereert.

contract
ContractDescription

De contractbeschrijving voor het te genereren contract.

contractType
CodeTypeDeclaration

De CodeTypeDeclaration contractcode die moet worden gegenereerd.

duplexCallbackType
CodeTypeDeclaration

De CodeTypeDeclaration code voor het dubbelzijdige contract dat moet worden gegenereerd.

Van toepassing op