Aracılığıyla paylaş


ServiceContractGenerator.GenerateServiceContractType Yöntem

Tanım

Belirtilen ContractDescription örnekten bir hizmet sözleşmesi türü oluşturur.

public:
 System::CodeDom::CodeTypeReference ^ GenerateServiceContractType(System::ServiceModel::Description::ContractDescription ^ contractDescription);
public System.CodeDom.CodeTypeReference GenerateServiceContractType (System.ServiceModel.Description.ContractDescription contractDescription);
member this.GenerateServiceContractType : System.ServiceModel.Description.ContractDescription -> System.CodeDom.CodeTypeReference
Public Function GenerateServiceContractType (contractDescription As ContractDescription) As CodeTypeReference

Parametreler

contractDescription
ContractDescription

ContractDescription Sözleşme türünü oluşturmak için kullanılacak.

Döndürülenler

CodeTypeReference

CodeTypeReference Oluşturulan sözleşme türü için bir örnek.

Açıklamalar

Diğer kod yapıtları da özelliği kullanılarak ServiceContractGenerator.Options belirtildiği gibi oluşturulabilir.

Şunlara uygulanır