ExceptionEvaluator Constructor (Type, Boolean) | Apache log4net™ SDK Documentation

Constructs an evaluator and initializes to trigger on exType

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public ExceptionEvaluator(
    	Type exType,
    	bool triggerOnSubClass
    )

    Public Sub New (
    	exType As Type,
    	triggerOnSubClass As Boolean
    )

    public:
    ExceptionEvaluator(
    	Type^ exType,
    	bool triggerOnSubClass
    )

    new :
            exType : Type *
            triggerOnSubClass : bool -> ExceptionEvaluator

#### Parameters

exType
  Type: System
  Type
  the type that triggers this evaluator.
triggerOnSubClass
  Type: System
  Boolean
  If true, this evaluator will trigger on subclasses of ExceptionType.

See Also

#### Reference

ExceptionEvaluator Class
ExceptionEvaluator Overload
log4net.Core Namespace