Aracılığıyla paylaş


ServiceContractGenerationContext Oluşturucular

Tanım

ServiceContractGenerationContext sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

ServiceContractGenerationContext(ServiceContractGenerator, ContractDescription, CodeTypeDeclaration)

Belirtilen sözleşme oluşturucu, sözleşme açıklaması ve sözleşme kodu türü bildirimini kullanarak sınıfının yeni bir örneğini ServiceContractGenerationContext başlatır.

ServiceContractGenerationContext(ServiceContractGenerator, ContractDescription, CodeTypeDeclaration, CodeTypeDeclaration)

Belirtilen sözleşme oluşturucu, sözleşme açıklaması ve sözleşme kodu türü bildirimini kullanarak sınıfının yeni bir örneğini ServiceContractGenerationContext başlatır.

ServiceContractGenerationContext(ServiceContractGenerator, ContractDescription, CodeTypeDeclaration)

Belirtilen sözleşme oluşturucu, sözleşme açıklaması ve sözleşme kodu türü bildirimini kullanarak sınıfının yeni bir örneğini ServiceContractGenerationContext başlatır.

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)

Parametreler

serviceContractGenerator
ServiceContractGenerator

Sözleşmenin kodunu oluşturan oluşturucu.

contract
ContractDescription

Oluşturulacak sözleşmenin sözleşme açıklaması.

contractType
CodeTypeDeclaration

CodeTypeDeclaration Oluşturulacak sözleşme kodu için.

Şunlara uygulanır

ServiceContractGenerationContext(ServiceContractGenerator, ContractDescription, CodeTypeDeclaration, CodeTypeDeclaration)

Belirtilen sözleşme oluşturucu, sözleşme açıklaması ve sözleşme kodu türü bildirimini kullanarak sınıfının yeni bir örneğini ServiceContractGenerationContext başlatır.

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)

Parametreler

serviceContractGenerator
ServiceContractGenerator

Sözleşmenin kodunu oluşturan oluşturucu.

contract
ContractDescription

Oluşturulacak sözleşmenin sözleşme açıklaması.

contractType
CodeTypeDeclaration

CodeTypeDeclaration Oluşturulacak sözleşme kodu için.

duplexCallbackType
CodeTypeDeclaration

CodeTypeDeclaration Oluşturulacak çift yönlü sözleşme kodu için.

Şunlara uygulanır