共用方式為


ServiceContractGenerationContext.Contract 屬性

定義

取得目前合約的 ContractDescription

public:
 property System::ServiceModel::Description::ContractDescription ^ Contract { System::ServiceModel::Description::ContractDescription ^ get(); };
public System.ServiceModel.Description.ContractDescription Contract { get; }
member this.Contract : System.ServiceModel.Description.ContractDescription
Public ReadOnly Property Contract As ContractDescription

屬性值

目前合約的 ContractDescription

備註

您可以使用 Contract 屬性來檢查目前合約的 System.ServiceModel.Description.ContractDescription

適用於