ILGenerator::BeginExceptFilterBlock Method ()
Begins an exception block for a filtered exception.
Assembly: mscorlib (in mscorlib.dll)
| Exception | Condition |
|---|---|
| NotSupportedException | The Microsoft intermediate language (MSIL) 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. DynamicILInfo can be used to construct a dynamic method that uses filtered exception blocks.
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1