Share via


COMError.description Method

Definition

Returns a description of the error that occurred when the COM object was called.

public:
 virtual System::String ^ description();
public virtual string description ();
abstract member description : unit -> string
override this.description : unit -> string
Public Overridable Function description () As String

Returns

The error description.

Remarks

The description might be empty if the COM object does not support handing out textual error messages. The description property is read-only.

Applies to