This documentation is archived and is not being maintained.

ILGenerator.BeginExceptFilterBlock Method

Begins an exception block for a filtered exception.

[Visual Basic]
Public Overridable Sub BeginExceptFilterBlock()
[C#]
public virtual void BeginExceptFilterBlock();
[C++]
public: virtual void BeginExceptFilterBlock();
[JScript]
public function BeginExceptFilterBlock();

Exceptions

Exception Type Condition
NotSupportedException The Microsoft intermediate language (MSIL) being generated is not currently in an exception block.

Remarks

Emits a branch instruction to the end of the current exception block.

Example

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ILGenerator Class | ILGenerator Members | System.Reflection.Emit Namespace

Show: