Share via


ControlFlowBuilder.AddFaultRegion Método

Definição

Adiciona a região fault.

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)

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.

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