Marshal.PrelinkAll Method (Type)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

[<SecurityCriticalAttribute>]
static member PrelinkAll : 
        c:Type -> unit

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: