Share via


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

Return Value

Type: System..::.Exception
The exception that was logged.

Remarks

Logs an exception to the event log.

Permissions

See Also

Reference

UpmMembershipSettings Class

UpmMembershipSettings Members

Microsoft.CommerceServer.Runtime.Profiles Namespace