ControlFlowBuilder.AddFilterRegion(LabelHandle, LabelHandle, LabelHandle, LabelHandle, LabelHandle) Método
Definição
Adiciona a região catch.Adds catch region.
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 que marca a primeira instrução do bloco try.Label marking the first instruction of the try block.
- tryEnd
- LabelHandle
Rótulo que marca a instrução imediatamente após o bloco try.Label marking the instruction immediately following the try block.
- handlerStart
- LabelHandle
Rótulo que marca a primeira instrução do manipulador.Label marking the first instruction of the handler.
- handlerEnd
- LabelHandle
Rótulo que marca a instrução imediatamente após o manipulador.Label marking the instruction immediately following the handler.
- filterStart
- LabelHandle
Rótulo que marca a primeira instrução do bloco filter.Label marking the first instruction of the filter block.
Exceções
Um rótulo não foi definido por um codificador de instruções ao qual este construtor está associado.A label was not defined by an instruction encoder this builder is associated with.
Um rótulo tem valor padrão.A label has default value.