次の方法で共有


ControlFlowBuilder.AddFilterRegion メソッド

定義

catch 領域を追加します。

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

パラメーター

tryStart
LabelHandle

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

tryEnd
LabelHandle

try ブロックの直後の命令をマークしたラベル。

handlerStart
LabelHandle

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

handlerEnd
LabelHandle

ハンドラーの直後の命令をマークしたラベル。

filterStart
LabelHandle

フィルター ブロックの最初の命令をマークしたラベル。

例外

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

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

適用対象