ServerProtocolFactory.CreateIfRequestCompatible(HttpRequest) 方法

定义

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

protected:
 abstract System::Web::Services::Protocols::ServerProtocol ^ CreateIfRequestCompatible(System::Web::HttpRequest ^ request);
protected abstract System.Web.Services.Protocols.ServerProtocol CreateIfRequestCompatible (System.Web.HttpRequest request);
abstract member CreateIfRequestCompatible : System.Web.HttpRequest -> System.Web.Services.Protocols.ServerProtocol
Protected MustOverride Function CreateIfRequestCompatible (request As HttpRequest) As ServerProtocol

参数

request
HttpRequest

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

返回

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

适用于