Bagikan melalui


ExceptionRegionEncoder.AddFinally(Int32, Int32, Int32, Int32) Metode

Definisi

Menambahkan klausa akhirnya.

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

Parameter

tryOffset
Int32

Coba blokir offset mulai.

tryLength
Int32

Coba panjang blok.

handlerOffset
Int32

Offset mulai handler.

handlerLength
Int32

Panjang handler.

Mengembalikan

Encoder untuk klausa berikutnya.

Pengecualian

tryOffset, tryLength, handlerOffset atau handlerLength di luar jangkauan.

Badan metode tidak dinyatakan memiliki wilayah pengecualian.

Berlaku untuk