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

Définition

Ajoute une clause 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

Paramètres

tryOffset
Int32

Essayez le décalage de démarrage du bloc.

tryLength
Int32

Essayez la longueur du bloc.

handlerOffset
Int32

Décalage de début du gestionnaire.

handlerLength
Int32

Longueur du gestionnaire.

Retours

Encodeur pour la clause suivante.

Exceptions

tryOffset, tryLengthou handlerOffsethandlerLength est hors limites.

Le corps de la méthode n’a pas été déclaré pour avoir des régions d’exception.

S’applique à