다음을 통해 공유


SoapReceiver.Receive Method (SoapEnvelope, Exception)

Provides notification when a SOAP message is received and there was an exception in the pipeline.

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

Usage

'Usage
Public Class soapReceiverImplementation
    Inherits SoapReceiver
        Protected Overrides Sub Receive(envelope As SoapEnvelope, _
            filterException As Exception)
            MyBase.Receive(envelope, filterException)
        End Sub
End Class

Syntax

'Declaration
Overloads Protected Overridable Sub Receive( _
    ByVal envelope As SoapEnvelope, _
    ByVal filterException As Exception _
)
protected virtual void Receive(
    SoapEnvelope envelope, 
    Exception filterException
);
protected:
virtual void Receive(
    SoapEnvelope^ envelope,
    Exception^ filterException
);
protected virtual void Receive(
    SoapEnvelope envelope, 
    Exception filterException
);
protected function Receive(
     envelope : SoapEnvelope, 
     filterException : Exception
) : Void;

Parameters

  • filterException
    The Exception thrown in the pipeline.

Remarks

The default behavior for this method is to do nothing.

Note

Because the SOAP message has not successfully passed through the pipeline, it cannot be trusted.

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

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