ExceptionRegionEncoder Struct

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.

C#
public readonly struct ExceptionRegionEncoder
C#
public struct ExceptionRegionEncoder
Inheritance
ExceptionRegionEncoder

Properties

Builder

The underlying builder.

HasSmallFormat

true if the encoder uses small format.

Methods

Add(ExceptionRegionKind, Int32, Int32, Int32, Int32, EntityHandle, Int32)

Adds an exception clause.

AddCatch(Int32, Int32, Int32, Int32, EntityHandle)

Adds a fault clause.

AddFault(Int32, Int32, Int32, Int32)

Adds a fault clause.

AddFilter(Int32, Int32, Int32, Int32, Int32)

Adds a fault clause.

AddFinally(Int32, Int32, Int32, Int32)

Adds a finally clause.

IsSmallExceptionRegion(Int32, Int32)

Returns true if the region fits small format.

IsSmallRegionCount(Int32)

Returns true if the number of exception regions first small format.

Applies to

Produkt Versioner
.NET Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)