PropagateOrLogException Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Serialize the exception into a SoapException node and throw an error. Server exceptions also get logged to the application event log.
Namespace: Microsoft.CommerceServer.Catalog.WebService
Assembly: Microsoft.CatalogServer (in Microsoft.CatalogServer.dll)
Syntax
'Declaration
Protected Overrides Sub PropagateOrLogException ( _
except As Exception _
)
'Usage
Dim except As Exception
Me.PropagateOrLogException(except)
protected override void PropagateOrLogException(
Exception except
)
protected:
virtual void PropagateOrLogException(
Exception^ except
) override
protected override function PropagateOrLogException(
except : Exception
)
Parameters
- except
Type: System..::.Exception
The exception to propagate to the client.
Remarks
The SoapException is the exception that is thrown when an XML Web service method is called over SOAP and an exception occurs. A SoapException is an indication that there is a problem on the server.
Server exceptions also get logged to the application event log.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.