PropagateOrLogException Method

Serializes the exception into a SoapException detail node and throw the new serialized exception.

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

Syntax

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

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

MarketingWebService Class

MarketingWebService Members

Microsoft.CommerceServer.Marketing.WebService Namespace