Back to Harmony

Class ExceptionBlock

docs/api/HarmonyLib.ExceptionBlock.html

2.4.2.01.0 KB
Original Source

Class ExceptionBlock

An exception block

Inheritance

System.Object

ExceptionBlock

Namespace : HarmonyLib
Assembly : 0Harmony.dll
Syntax
public class ExceptionBlock

Constructors

ExceptionBlock(ExceptionBlockType, Type)

Creates a new ExceptionBlock

Declaration
public ExceptionBlock(ExceptionBlockType blockType, Type catchType = null)
Parameters
TypeNameDescription
ExceptionBlockTypeblockType

The ExceptionBlockType

| | System.Type | catchType |

The catch type

|

Fields

blockType

Block type

Declaration
public ExceptionBlockType blockType
Field Value
TypeDescription
ExceptionBlockType

catchType

Catch type

Declaration
public Type catchType
Field Value
TypeDescription
System.Type