Compartilhar via


DkmComponentManager.ReportCurrentNonFatalException(Exception, String) Method

Definition

This allows reporting of a non-fatal exception from a Concord component. This must be called from an exception filter.

public:
 static bool ReportCurrentNonFatalException(Exception ^ currentException, System::String ^ implementationName);
public static bool ReportCurrentNonFatalException (Exception currentException, string implementationName);
static member ReportCurrentNonFatalException : Exception * string -> bool
Public Shared Function ReportCurrentNonFatalException (currentException As Exception, implementationName As String) As Boolean

Parameters

currentException
Exception

[Required] Exception that triggered this non-fatal error

implementationName
String

[Required] String describing the source of the error (such as a component name), this will appear in the 4th parameter of the WER report after the module name

Returns

Returns true if the report was sent, false if no report was sent

Remarks

A return value of false does not mean failure; false will be returned under normal operation.

Applies to