Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ExceptionLogger::ShouldLog Method (ExceptionLoggerContext^)

 

Determines whether the exception should be logged.

Namespace:   System.Web.Http.ExceptionHandling
Assembly:  System.Web.Http (in System.Web.Http.dll)

public:
virtual bool ShouldLog(
	ExceptionLoggerContext^ context
)

Parameters

context
Type: System.Web.Http.ExceptionHandling::ExceptionLoggerContext^

The exception logger context.

Return Value

Type: System::Boolean

true if the exception should be logged; otherwise, false.

Return to top
Show: