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
- 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.