This topic has not yet been rated - Rate this topic

ILGenerator.BeginExceptFilterBlock Method

April 12, 2014

Begins an exception block for a filtered exception.

Namespace:  System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)
public virtual void BeginExceptFilterBlock()
ExceptionCondition
NotSupportedException

The Microsoft intermediate language (MSIL) that is being generated is not currently in an exception block.

-or-

This ILGenerator belongs to a DynamicMethod.

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.