SoapReceiver.Receive Method (SoapEnvelope, Exception)
Provides notification when a SOAP message is received and there was an exception in the pipeline.
Namespace: Microsoft.Web.Services2.Messaging
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.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: Void Receive(
SoapEnvelope^ envelope,
Exception^ filterException
);
protected void Receive(
SoapEnvelope envelope,
Exception filterException
);
protected function Receive(
envelope : SoapEnvelope,
filterException : Exception
);
Parameters
- envelope
A SoapEnvelope that represents the SOAP message.
- filterException
The System.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 Longhorn, and Windows 2000
Target Platforms
Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone
See Also
Reference
SoapReceiver Class
Microsoft.Web.Services2.Messaging Namespace