Class ExceptionBlock
An exception block
Inheritance
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
Type | Name | Description |
---|---|---|
ExceptionBlockType | blockType | |
Type | catchType | The catch type |
Fields
blockType
Block type
Declaration
public ExceptionBlockType blockType
Field Value
Type | Description |
---|---|
ExceptionBlockType |
catchType
Catch type
Declaration
public Type catchType
Field Value
Type | Description |
---|---|
Type |