SoapHttpRouter.GetRequestPolicy Method

Gets the policy associated with the SOAP request.

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

Usage

'Usage
Public Class soapHttpRouterImplementation
    Inherits SoapHttpRouter
        Protected Overrides Function GetRequestPolicy()
            MyBase.GetRequestPolicy()
        End Function
End Class

Syntax

'Declaration
Protected Overridable Function GetRequestPolicy() As Policy
protected virtual Policy GetRequestPolicy();
protected:
virtual Policy^ GetRequestPolicy();
protected virtual Policy GetRequestPolicy();
protected function GetRequestPolicy() : Policy;

Return Value

A Policy representing the policy for the request.

Remarks

Use the GetRequestPolicy method to set the policy for SOAP messages exchanged between the client and the SOAP router. For more details, see How to: Secure SOAP Messages Routed Through the WSE SOAP Router.

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

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