ServiceHostBase.Description 属性

定义

获取所承载服务的说明。

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

属性值

ServiceDescription

所承载服务的 ServiceDescription

示例

ServiceDescription description =
        hostDefault.Description;

适用于