LogException Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Logs an exception to the event log.
Namespace: Microsoft.CommerceServer.Runtime.Profiles
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Function LogException ( _
exception As Exception _
) As Exception
'Usage
Dim instance As UpmMembershipSettings
Dim exception As Exception
Dim returnValue As Exception
returnValue = instance.LogException(exception)
public Exception LogException(
Exception exception
)
public:
Exception^ LogException(
Exception^ exception
)
public function LogException(
exception : Exception
) : Exception
Parameters
- exception
Type: System..::.Exception
Exception to log.
Return Value
Type: System..::.Exception
The exception that was logged.
Remarks
Logs an exception to the 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.