System.Runtime.InteropServices.COMException.ToString Method

Converts the contents of the exception to a string.

Syntax

public override string ToString ()

Returns

A string containing the Exception.HResult, Exception.Message, Exception.InnerException, and Exception.StackTrace properties of the exception.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0