ExceptionRegionEncoder.AddFinally(Int32, Int32, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a finally clause.
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
Parameters
- tryOffset
- Int32
Try block start offset.
- tryLength
- Int32
Try block length.
- handlerOffset
- Int32
Handler start offset.
- handlerLength
- Int32
Handler length.
Returns
Encoder for the next clause.
Exceptions
tryOffset
, tryLength
, handlerOffset
or handlerLength
is out of range.
Method body was not declared to have exception regions.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.