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

Definição

Adiciona uma cláusula fault.Adds a fault clause.

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

Parâmetros

tryOffset
Int32

Deslocamento inicial do bloco try.Try block start offset.

tryLength
Int32

Comprimento do bloco try.Try block length.

handlerOffset
Int32

Deslocamento inicial do manipulador.Handler start offset.

handlerLength
Int32

Comprimento do manipulador.Handler length.

filterOffset
Int32

Deslocamento do bloco filter.Offset of the filter block.

Retornos

ExceptionRegionEncoder

Codificador para a próxima cláusula.Encoder for the next clause.

Exceções

tryOffset, tryLength, handlerOffset ou handlerLength está fora do intervalo.tryOffset, tryLength, handlerOffset or handlerLength is out of range.

Não foi declarado que o corpo do método tem regiões de exceção.Method body was not declared to have exception regions.

Aplica-se a