ProtocolReflector.GetServiceDescription(String) 方法
定义
获取给定的 XML 命名空间和适用的通信协议的 ServiceDescription 对象。Gets a ServiceDescription object for a given XML namespace and the applicable communication protocol.
public:
System::Web::Services::Description::ServiceDescription ^ GetServiceDescription(System::String ^ ns);
public System.Web.Services.Description.ServiceDescription GetServiceDescription (string ns);
member this.GetServiceDescription : string -> System.Web.Services.Description.ServiceDescription
Public Function GetServiceDescription (ns As String) As ServiceDescription
参数
- ns
- String
随后获取的 ServiceDescription 实例将使用与 Web 服务描述语言 (WSDL) 实体(该实体从输入 Web 服务类反射)对应的对象来填充。The ServiceDescription instance obtained subsequently gets populated with objects that correspond to Web Services Description Language (WSDL) entities that are reflected from the input Web service class.
返回
给定的 XML 命名空间和适用的通信协议的 ServiceDescription 对象。A ServiceDescription object for a given XML namespace and the applicable communication protocol.
注解
随后获取的 ServiceDescription 实例会填充与从输入 Web 服务类反射的 WSDL 实体对应的对象。The ServiceDescription instance obtained subsequently gets populated with objects that correspond to WSDL entities that are reflected from the input Web service class.