Redigera

Dela via


ExceptionRegionEncoder.AddFilter(Int32, Int32, Int32, Int32, Int32) Method

Definition

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

Parameters

tryOffset
Int32

Try block start offset.

tryLength
Int32

Try block length.

handlerOffset
Int32

Handler start offset.

handlerLength
Int32

Handler length.

filterOffset
Int32

Offset of the filter block.

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