Share via


ExceptionContextCatchBlock Constructor (String, Boolean, Boolean)

 

Initializes a new instance of the ExceptionContextCatchBlock class.

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

Syntax

public ExceptionContextCatchBlock(
    string name,
    bool isTopLevel,
    bool callsHandler
)
public:
ExceptionContextCatchBlock(
    String^ name,
    bool isTopLevel,
    bool callsHandler
)
new : 
        name:string *
        isTopLevel:bool *
        callsHandler:bool -> ExceptionContextCatchBlock
Public Sub New (
    name As String,
    isTopLevel As Boolean,
    callsHandler As Boolean
)

Parameters

  • name
    Type: System.String

    The label for the catch block where the exception was caught.

  • isTopLevel
    Type: System.Boolean

    A value indicating whether the catch block where the exception was caught is the last one before the host.

  • callsHandler
    Type: System.Boolean

    A value indicating whether exceptions in the catch block can be handled after they are logged.

See Also

ExceptionContextCatchBlock Class
System.Web.Http.ExceptionHandling Namespace

Return to top