ExceptionHandler Structure
Represents an exception handler in a byte array of IL to be passed to a method such as SetMethodBody.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | ExceptionHandler(Int32, Int32, Int32, Int32, Int32, ExceptionHandlingClauseOptions, Int32) | Initializes a new instance of the ExceptionHandler class with the specified parameters. |
| Name | Description | |
|---|---|---|
![]() | ExceptionTypeToken | Gets the token of the exception type handled by this handler. |
![]() | FilterOffset | Gets the byte offset at which the filter code for the exception handler begins. |
![]() | HandlerLength | Gets the length, in bytes, of the exception handler. |
![]() | HandlerOffset | Gets the byte offset of the first instruction of the exception handler. |
![]() | Kind | Gets a value that represents the kind of exception handler this object represents. |
![]() | TryLength | Gets the length, in bytes, of the code protected by this exception handler. |
![]() | TryOffset | Gets the byte offset at which the code that is protected by this exception handler begins. |
| Name | Description | |
|---|---|---|
![]() | Equals(ExceptionHandler) | Indicates whether this instance of the ExceptionHandler object is equal to another ExceptionHandler object. |
![]() | Equals(Object^) | Indicates whether this instance of the ExceptionHandler object is equal to a specified object.(Overrides ValueType::Equals(Object^).) |
![]() | GetHashCode() | Serves as the default hash function.(Overrides ValueType::GetHashCode().) |
![]() | GetType() | |
![]() | ToString() | Returns the fully qualified type name of this instance.(Inherited from ValueType.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality(ExceptionHandler, ExceptionHandler) | Determines whether two specified instances of ExceptionHandler are equal. |
![]() ![]() | Inequality(ExceptionHandler, ExceptionHandler) | Determines whether two specified instances of ExceptionHandler are not equal. |
Available since 4.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



