ExceptionHandler 構造体
定義
SetMethodBody(Byte[], Int32, Byte[], IEnumerable<ExceptionHandler>, IEnumerable<Int32>) などのメソッドに渡される IL のバイト配列内の例外ハンドラーを表します。Represents an exception handler in a byte array of IL to be passed to a method such as SetMethodBody(Byte[], Int32, Byte[], IEnumerable<ExceptionHandler>, IEnumerable<Int32>).
public value class ExceptionHandler : IEquatable<System::Reflection::Emit::ExceptionHandler>
[System.Runtime.InteropServices.ComVisible(false)]
public struct ExceptionHandler : IEquatable<System.Reflection.Emit.ExceptionHandler>
[<System.Runtime.InteropServices.ComVisible(false)>]
type ExceptionHandler = struct
Public Structure ExceptionHandler
Implements IEquatable(Of ExceptionHandler)
- 継承
- 属性
- 実装
コンストラクター
ExceptionHandler(Int32, Int32, Int32, Int32, Int32, ExceptionHandlingClauseOptions, Int32) |
指定したパラメーターを使用して、ExceptionHandler クラスの新しいインスタンスを初期化します。Initializes a new instance of the ExceptionHandler class with the specified parameters. |
プロパティ
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. |
メソッド
Equals(ExceptionHandler) |
ExceptionHandler オブジェクトのこのインスタンスが別の ExceptionHandler オブジェクトと等しいかどうかを示します。Indicates whether this instance of the ExceptionHandler object is equal to another ExceptionHandler object. |
Equals(Object) |
ExceptionHandler オブジェクトのこのインスタンスが指定したオブジェクトと等しいかどうかを示します。Indicates whether this instance of the ExceptionHandler object is equal to a specified object. |
GetHashCode() |
既定のハッシュ関数として機能します。Serves as the default hash function. |
演算子
Equality(ExceptionHandler, ExceptionHandler) |
ExceptionHandler の 2 つの指定したインスタンスが等しいかどうかを判断します。Determines whether two specified instances of ExceptionHandler are equal. |
Inequality(ExceptionHandler, ExceptionHandler) |
ExceptionHandler の 2 つの指定したインスタンスが等しいかどうかを判断します。Determines whether two specified instances of ExceptionHandler are not equal. |