Share via


ControlFlowBuilder.AddFilterRegion Método

Definição

Adiciona a região 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)

Parâmetros

tryStart
LabelHandle

Rótulo marcando a primeira instrução do bloco try.

tryEnd
LabelHandle

Rótulo marcando a instrução imediatamente após o bloco try.

handlerStart
LabelHandle

Rótulo marcando a primeira instrução do manipulador.

handlerEnd
LabelHandle

Rótulo marcando a instrução imediatamente após o manipulador.

filterStart
LabelHandle

Rótulo que marca a primeira instrução do bloco filter.

Exceções

Um rótulo não foi definido por um codificador de instrução ao qual esse construtor está associado.

Um rótulo tem o valor padrão.

Aplica-se a