ExceptionRegionEncoder.AddFinally(Int32, Int32, Int32, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
Décalage de début du bloc try.
- tryLength
- Int32
Longueur du bloc try.
- handlerOffset
- Int32
Décalage de début du gestionnaire.
- handlerLength
- Int32
Longueur du gestionnaire.
Retours
Encodeur pour la clause suivante.
Exceptions
tryOffset
, tryLength
handlerOffset
ou handlerLength
est en dehors de la plage.
Le corps de la méthode n’a pas été déclaré comme ayant des régions d’exception.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour