ILGenerator.BeginExceptFilterBlock Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Begins an exception block for a filtered exception.
Assembly: mscorlib (in mscorlib.dll)
| Exception | Condition |
|---|---|
| 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.