Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Property: bool PropagateExceptions

Declaration

bool PropagateExceptions

Summary

Determines whether exceptions in HttpServer.Handler, HttpServer.ErrorHandler and the response stream get propagated to the debugger. Setting this to true will cause exceptions to bring down the server.

Remarks

If false, all exceptions are handled. HttpException determines its own HTTP response status code, all other exception types lead to 500 Internal Server Error. Use this setting in RELEASE mode.

If true, only HttpException is handled. All other exceptions are left unhandled so that the Visual Studio debugger is triggered when they occur, enabling debugging. Use this setting in DEBUG mode only.