Share via


COMError.source Method

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

Syntax

public str source()

Run On

Called

Return Value

Type: str
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.

See Also

Reference

COMError Class