Class ExceptionBlock
An exception block
Inheritance
System.Object
ExceptionBlock
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: HarmonyLib
Assembly: 0Harmony.dll
Syntax
public class ExceptionBlock
Constructors
| Improve this Doc View SourceExceptionBlock(ExceptionBlockType, Type)
Creates an exception block
Declaration
public ExceptionBlock(ExceptionBlockType blockType, Type catchType = null)
Parameters
Type | Name | Description |
---|---|---|
ExceptionBlockType | blockType | |
System.Type | catchType | The catch type |
Fields
| Improve this Doc View SourceblockType
Block type
Declaration
public ExceptionBlockType blockType
Field Value
Type | Description |
---|---|
ExceptionBlockType |
catchType
Catch type
Declaration
public Type catchType
Field Value
Type | Description |
---|---|
System.Type |