Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

ExceptionEvaluator.IsTriggeringEvent�Method�

Is this loggingEvent the triggering event?

[Visual�Basic]
NotOverridable�Public�Function�IsTriggeringEvent( _
���ByVal loggingEvent�As�LoggingEvent�_
)�As�Boolean�_
����Implements�ITriggeringEventEvaluator.IsTriggeringEvent
[C#]
public�bool�IsTriggeringEvent(
���LoggingEventloggingEvent
);

Parameters

loggingEvent
The event to check

Return Value

This method returns true, if the logging event Exception Type is ExceptionType. Otherwise it returns false

Implements

ITriggeringEventEvaluator.IsTriggeringEvent

Remarks

This evaluator will trigger if the Exception Type of the event passed to IsTriggeringEvent is ExceptionType.

See Also

ExceptionEvaluator Class | log4net.Core Namespace