PrelinkAll Method
TOC
Collapse the table of content
Expand the table of content

Marshal.PrelinkAll Method (Type)

 

Performs a pre-link check for all methods on a class.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

[SecurityCriticalAttribute]
public static void PrelinkAll(
	Type c
)

Parameters

c
Type: System.Type

The class whose methods are to be checked.

Exception Condition
ArgumentNullException

The c parameter is null.

The PrelinkAll method invokes Marshal.Prelink on every method for a given type. Prelink executes one-time method setup tasks without calling each method. You can use PrelinkAll only for platform invoke calls.

SecurityCriticalAttribute

requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft