Condividi tramite


WebServiceReceiver.RouteRequest Method

Determines the method to be invoked for a particular message.

Namespace: Microsoft.Web.Services3.Messaging
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Public Class webServiceReceiverImplementation
    Inherits WebServiceReceiver
        Protected Overrides Function RouteRequest(request As SoapEnvelope)
            MyBase.RouteRequest(request)
        End Function
End Class

Syntax

'Declaration
Protected Overrides Function RouteRequest( _
    ByVal request As SoapEnvelope _
) As SoapMethodInvoker
protected override SoapMethodInvoker RouteRequest(
    SoapEnvelope request
);
protected:
virtual SoapMethodInvoker^ RouteRequest(
    SoapEnvelope^ request
) override;
protected override SoapMethodInvoker RouteRequest(
    SoapEnvelope request
);
protected override function RouteRequest(
     request : SoapEnvelope
) : SoapMethodInvoker;

Parameters

  • request

Return Value

A SoapMethodInvoker object that contains the method to invoke.

Exceptions

Exception type Condition
ArgumentNullException

Request is null.

AddressingFault

No method has an action that matches the action in the request.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

WebServiceReceiver Class
WebServiceReceiver Members
Microsoft.Web.Services3.Messaging Namespace