ToString Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Creates and returns a string representation of the current exception.

Namespace:  Microsoft.CommerceServer.Runtime.Profiles
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As CommerceProfileSystemException
Dim returnValue As String

returnValue = instance.ToString()
public override string ToString()
public:
virtual String^ ToString() override
public override function ToString() : String

Return Value

Type: System..::.String
String representation of the exception message and error code.

Implements

_Exception..::.ToString()()()

Remarks

Overrides for the default implementation provided by the Exception class. String representation of the exception message and error code, recursively concatenated with the exception message and error code from the nested exceptions, and from the ProfileService.Errors collection, if it exists.

Permissions

See Also

Reference

CommerceProfileSystemException Class

CommerceProfileSystemException Members

Microsoft.CommerceServer.Runtime.Profiles Namespace