DynamicILInfo.SetExceptions Method (Byte[])

 

Sets the exception metadata for the associated dynamic method.

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

public void SetExceptions(
	byte[] exceptions
)

Parameters

exceptions
Type: System.Byte[]

An array that contains the exception metadata.

The exception metadata for a method defines the location and size of all try, catch, finally, filter, and fault blocks. For information on the layout of this metadata, see the Common Language Infrastructure (CLI) documentation, especially "Partition II: Metadata Definition and Semantics". The documentation is available online; see ECMA C# and Common Language Infrastructure Standards on MSDN and Standard ECMA-335 - Common Language Infrastructure (CLI) on the Ecma International Web site.

.NET Framework
Available since 2.0
Return to top
Show: