ExceptionHandlingClause.FilterOffset Property
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.
Gets the offset within the method body, in bytes, of the user-supplied filter code.
public:
virtual property int FilterOffset { int get(); };
public:
property int FilterOffset { int get(); };
public virtual int FilterOffset { get; }
public int FilterOffset { get; }
member this.FilterOffset : int
Public Overridable ReadOnly Property FilterOffset As Integer
Public ReadOnly Property FilterOffset As Integer
The offset within the method body, in bytes, of the user-supplied filter code. The value of this property has no meaning if the Flags property has any value other than Filter.
Cannot get the offset because the exception handling clause is not a filter.
A filter clause contains user-suppliedMicrosoft intermediate language (MSIL) that determines whether an exception is handled by this clause. For example, any clause containing the Visual Basic When
keyword is a ExceptionHandlingClauseOptions.Filter clause.
Note
Working with exception-handling clauses requires a thorough understanding of metadata and MSIL instruction formats. Information can be found in the Common Language Infrastructure (CLI) documentation, especially "Partition II: Metadata Definition and Semantics".
Product | Versions |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: