SoapServerProtocol.RouteRequest(SoapServerMessage) 方法
定义
返回指定的 SoapServerMethod 应路由到的 SoapServerMessage。Returns the SoapServerMethod to which the specified SoapServerMessage should be routed.
protected:
virtual System::Web::Services::Protocols::SoapServerMethod ^ RouteRequest(System::Web::Services::Protocols::SoapServerMessage ^ message);
protected virtual System.Web.Services.Protocols.SoapServerMethod RouteRequest (System.Web.Services.Protocols.SoapServerMessage message);
abstract member RouteRequest : System.Web.Services.Protocols.SoapServerMessage -> System.Web.Services.Protocols.SoapServerMethod
override this.RouteRequest : System.Web.Services.Protocols.SoapServerMessage -> System.Web.Services.Protocols.SoapServerMethod
Protected Overridable Function RouteRequest (message As SoapServerMessage) As SoapServerMethod
参数
- message
- SoapServerMessage
发送到 XML Web services 的 SoapServerMessage。The SoapServerMessage sent to the XML Web service.
返回
message 指定的 SoapServerMethod 应路由到的 SoapServerMessage。The SoapServerMethod to which the SoapServerMessage specified by message should be routed.
注解
你可以重写 RouteRequest 方法,以处理用户不会通过标记为的 XML Web service 中的方法显式声明和处理 XML Web service 请求 WebMethodAttribute 。You can override the RouteRequest method to process XML Web service requests that are not explicitly declared and handled by users through a method in their XML Web service marked with WebMethodAttribute.