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

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

See Also

Reference

CatalogWebService Class

CatalogWebService Members

Microsoft.CommerceServer.Catalog.WebService Namespace