IQueryExecutionContext.ReportError Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.