SoapServerProtocol.RouteRequest(SoapServerMessage) Method

Definition

Returns the SoapServerMethod to which the specified SoapServerMessage should be routed.

C#
protected virtual System.Web.Services.Protocols.SoapServerMethod RouteRequest(System.Web.Services.Protocols.SoapServerMessage message);

Parameters

message
SoapServerMessage

The SoapServerMessage sent to the XML Web service.

Returns

The SoapServerMethod to which the SoapServerMessage specified by message should be routed.

Remarks

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.

Applies to

Produkt Verze
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1