Method Report
Report(ErrorInfo)
Reports an error.
Declaration
void Report(ErrorInfo errorInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| ErrorInfo | errorInfo | The error information to report. |
Report(Exception)
Reports an exception as an error.
Declaration
void Report(Exception exception)
Parameters
| Type | Name | Description |
|---|---|---|
| Exception | exception | The exception to report as an error. |
Report(IHasErrors)
Subscribes to an error source and reports its errors.
Declaration
IDisposable Report(IHasErrors source)
Parameters
| Type | Name | Description |
|---|---|---|
| IHasErrors | source | The error source to subscribe to. |
Returns
| Type | Description |
|---|---|
| IDisposable | A subscription that can be disposed to stop reporting errors from the source. |