Partager via


IQueryExecutionContext.ReportError Method

Definition

Overloads

ReportError(QueryExecutionErrorBase)

Report an error happened during the execution. This will not fail the query execution.

ReportError(Exception)

Report an exception happened during the execution, which will fail this query execution.

ReportError(QueryExecutionErrorBase)

Report an error happened during the execution. This will not fail the query execution.

public void ReportError (Microsoft.VisualStudio.ProjectSystem.Query.QueryExecutionErrorBase queryExecutionError);
abstract member ReportError : Microsoft.VisualStudio.ProjectSystem.Query.QueryExecutionErrorBase -> unit
Public Sub ReportError (queryExecutionError As QueryExecutionErrorBase)

Parameters

queryExecutionError
QueryExecutionErrorBase

An error to be reported.

Applies to

ReportError(Exception)

Report an exception happened during the execution, which will fail this query execution.

public void ReportError (Exception exception);
abstract member ReportError : Exception -> unit
Public Sub ReportError (exception As Exception)

Parameters

exception
Exception

An error to be reported.

Applies to