Partilhar via


COMError.source Method

Definition

Returns the name of the component that caused the error that occurred when the COM object was called.

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

Returns

The source of the error.

Remarks

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

Applies to