ControlFlowBuilder.AddFaultRegion メソッド

定義

障害領域を追加します。

public:
 void AddFaultRegion(System::Reflection::Metadata::Ecma335::LabelHandle tryStart, System::Reflection::Metadata::Ecma335::LabelHandle tryEnd, System::Reflection::Metadata::Ecma335::LabelHandle handlerStart, System::Reflection::Metadata::Ecma335::LabelHandle handlerEnd);
public void AddFaultRegion(System.Reflection.Metadata.Ecma335.LabelHandle tryStart, System.Reflection.Metadata.Ecma335.LabelHandle tryEnd, System.Reflection.Metadata.Ecma335.LabelHandle handlerStart, System.Reflection.Metadata.Ecma335.LabelHandle handlerEnd);
member this.AddFaultRegion : System.Reflection.Metadata.Ecma335.LabelHandle * System.Reflection.Metadata.Ecma335.LabelHandle * System.Reflection.Metadata.Ecma335.LabelHandle * System.Reflection.Metadata.Ecma335.LabelHandle -> unit
Public Sub AddFaultRegion (tryStart As LabelHandle, tryEnd As LabelHandle, handlerStart As LabelHandle, handlerEnd As LabelHandle)

パラメーター

tryStart
LabelHandle

try ブロックの最初の命令をマークするラベル。

tryEnd
LabelHandle

try ブロックの直後に命令をマークするラベル。

handlerStart
LabelHandle

ハンドラーの最初の命令をマークするラベル。

handlerEnd
LabelHandle

ハンドラーの直後に命令をマークするラベル。

例外

このビルダーが関連付けられている命令エンコーダーによってラベルが定義されていません。

ラベルには既定値があります。

適用対象