ControlFlowBuilder.AddFilterRegion Metoda

Definice

Přidá oblast odchytu.

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)

Parametry

tryStart
LabelHandle

Popisek, který označuje první instrukce bloku try.

tryEnd
LabelHandle

Popisek, který označuje instrukce bezprostředně za blokem try.

handlerStart
LabelHandle

Popisek, který označuje první instrukce obslužné rutiny.

handlerEnd
LabelHandle

Popisek, který označuje instrukce bezprostředně za obslužnou rutinou.

filterStart
LabelHandle

Popisek, který označuje první instrukce bloku filtru.

Výjimky

Popisek nebyl definován instrukčním kodérem, ke kterým je tento tvůrce přidružený.

Popisek má výchozí hodnotu.

Platí pro