ILGenerator.BeginExceptFilterBlock 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.
Begins an exception block for a filtered exception.
public:
virtual void BeginExceptFilterBlock();
public:
abstract void BeginExceptFilterBlock();
public virtual void BeginExceptFilterBlock ();
public abstract void BeginExceptFilterBlock ();
abstract member BeginExceptFilterBlock : unit -> unit
override this.BeginExceptFilterBlock : unit -> unit
abstract member BeginExceptFilterBlock : unit -> unit
Public Overridable Sub BeginExceptFilterBlock ()
Public MustOverride Sub BeginExceptFilterBlock ()
Exceptions
The Microsoft intermediate language (MSIL) being generated is not currently in an exception block.
-or-
This ILGenerator belongs to a DynamicMethod.
Remarks
Emits a branch instruction to the end of the current exception block.
If the current ILGenerator is associated with a DynamicMethod object, emitting filtered exception blocks is not supported. DynamicILInfo can be used to construct a dynamic method that uses filtered exception blocks.