Partager via


ReceiveSecurityFilter.ProcessMessage Method

Supplies the SOAP message as a SoapEnvelope so that it can be processed by the filter.

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

Usage

'Usage
Dim envelope As SoapEnvelope
Dim returnValue As SoapFilterResult
Dim receiveSecurityFilter1 As ReceiveSecurityFilter
returnValue = receiveSecurityFilter1.ProcessMessage(envelope)

Syntax

'Declaration
Public Overrides Function ProcessMessage( _
    ByVal envelope As SoapEnvelope _
) As SoapFilterResult
public override SoapFilterResult ProcessMessage(
    SoapEnvelope envelope
);
public:
virtual SoapFilterResult^ ProcessMessage(
    SoapEnvelope^ envelope
) override;
public override SoapFilterResult ProcessMessage(
    SoapEnvelope envelope
);
public override function ProcessMessage(
     envelope : SoapEnvelope
) : SoapFilterResult;

Parameters

  • envelope
    A SoapEnvelope that represents the SOAP message to filter.

Return Value

A SoapFilterResult that specifies whether the SOAP message should be filtered by the remaining SOAP filters in the pipeline.

Exceptions

Exception type Condition
System.ArgumentException

envelope is null.

Remarks

Use the ProcessMessage method to transform or view the SOAP method. For more information, see How to: Create a Custom Policy Assertion.

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

ReceiveSecurityFilter Class
ReceiveSecurityFilter Members
Microsoft.Web.Services3.Security Namespace