ControlFlowBuilder.AddFaultRegion Metoda

Definice

Přidá oblast selhání.

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)

Parametry

tryStart
LabelHandle

Popisek označujíící první instrukce bloku try.

tryEnd
LabelHandle

Popisek, který označuje instrukce hned za blokem try.

handlerStart
LabelHandle

Popisek označujíící první pokyn obslužné rutiny.

handlerEnd
LabelHandle

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

Výjimky

Popisek nebyl definován instrukčním kodérem, k tomuto tvůrci je přidružený.

Popisek má výchozí hodnotu.

Platí pro