SoapServerProtocolFactory.CreateIfRequestCompatible(HttpRequest) 方法

定义

返回一个 ServerProtocol,可用于处理 request 指定的 XML Web services 请求。Returns a ServerProtocol that can be used to process the XML Web service request specified by request.

protected:
 override System::Web::Services::Protocols::ServerProtocol ^ CreateIfRequestCompatible(System::Web::HttpRequest ^ request);
protected override System.Web.Services.Protocols.ServerProtocol CreateIfRequestCompatible (System.Web.HttpRequest request);
override this.CreateIfRequestCompatible : System.Web.HttpRequest -> System.Web.Services.Protocols.ServerProtocol
Protected Overrides Function CreateIfRequestCompatible (request As HttpRequest) As ServerProtocol

参数

request
HttpRequest

表示 Web 服务请求的 HttpRequestThe HttpRequest that represents the Web service request.

返回

ServerProtocol

一个 ServerProtocol,可用于处理 request 指定的 XML Web services 请求。A ServerProtocol that can be used to process the XML Web service request specified by request.

适用于