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
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
- 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.
See Also
Reference
CommerceProfileSystemException Class