RuntimeHelpers::PrepareDelegate Method (Delegate^)
.NET Framework (current version)
Indicates that the specified delegate should be prepared for inclusion in a constrained execution region (CER).
Assembly: mscorlib (in mscorlib.dll)
Parameters
- d
-
Type:
System::Delegate^
The delegate type to prepare.
Compilers use this method to prepare a delegate's invocation method and to prepare the target of that invocation (and the delegate's statically determinable call graph) as a constrained execution region (CER).
SecurityCriticalAttribute
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
.NET Framework
Available since 2.0
Available since 2.0
Show: