ExceptionRegionEncoder.AddFinally(Int32, Int32, Int32, Int32) Método

Definição

Adiciona uma cláusula finally.

public:
 System::Reflection::Metadata::Ecma335::ExceptionRegionEncoder AddFinally(int tryOffset, int tryLength, int handlerOffset, int handlerLength);
public System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder AddFinally (int tryOffset, int tryLength, int handlerOffset, int handlerLength);
member this.AddFinally : int * int * int * int -> System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder
Public Function AddFinally (tryOffset As Integer, tryLength As Integer, handlerOffset As Integer, handlerLength As Integer) As ExceptionRegionEncoder

Parâmetros

tryOffset
Int32

Deslocamento inicial do bloco try.

tryLength
Int32

Comprimento do bloco try.

handlerOffset
Int32

Deslocamento inicial do manipulador.

handlerLength
Int32

Comprimento do manipulador.

Retornos

Codificador para a próxima cláusula.

Exceções

tryOffset, tryLength, handlerOffset ou handlerLength está fora do intervalo.

Não foi declarado que o corpo do método tem regiões de exceção.

Aplica-se a