ExceptionRegion 結構

定義

public value class ExceptionRegion
public struct ExceptionRegion
public readonly struct ExceptionRegion
type ExceptionRegion = struct
Public Structure ExceptionRegion
繼承
ExceptionRegion

屬性

CatchType

如果區域表示 Catch 取得 TypeRef、TypeDef 或 TypeSpec 控制代碼,如果是其他狀況則取得 nil 語彙基元 (default(EntityHandle))。

FilterOffset

取得篩選條件區塊開頭的 IL 位移,如果該區域不是篩選條件,則為 -1。

HandlerLength

取得例外狀況處理常式的長度,以位元組為單位。

HandlerOffset

取得例外狀況處理常式的起始 IL 位移。

Kind
TryLength

取得 try 區塊的長度,以位元組為單位。

TryOffset

取得 try 區塊的起始 IL 長度。

適用於