ControlFlowBuilder.AddFilterRegion Metodo

Definizione

Aggiunge l'area 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)

Parametri

tryStart
LabelHandle

Etichetta che contrassegna la prima istruzione del blocco try.

tryEnd
LabelHandle

Contrassegnare l'istruzione immediatamente dopo il blocco try.

handlerStart
LabelHandle

Etichetta che contrassegna la prima istruzione del gestore.

handlerEnd
LabelHandle

Contrassegnare l'istruzione immediatamente dopo il gestore.

filterStart
LabelHandle

Etichetta che contrassegna la prima istruzione del blocco di filtro.

Eccezioni

Un'etichetta non è stata definita da un codificatore di istruzioni a cui è associato questo generatore.

Un'etichetta ha un valore predefinito.

Si applica a