Share via


PropagateOrLogException Method

Serialize the exception into a SoapException node and throw an error. Server exceptions also get logged to the application event log.

Namespace:  Microsoft.CommerceServer.Profiles.WebService
Assembly:  Microsoft.CommerceServer.Profiles.DataManagement (in Microsoft.CommerceServer.Profiles.DataManagement.dll)

Syntax

'Declaration
Protected Overridable Sub PropagateOrLogException ( _
    ex As Exception _
)
'Usage
Dim ex As Exception

Me.PropagateOrLogException(ex)
protected virtual void PropagateOrLogException(
    Exception ex
)
protected:
virtual void PropagateOrLogException(
    Exception^ ex
)
protected function PropagateOrLogException(
    ex : 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

ProfilesWebService Class

ProfilesWebService Members

Microsoft.CommerceServer.Profiles.WebService Namespace