Marshal.PrelinkAll(Type) Marshal.PrelinkAll(Type) Marshal.PrelinkAll(Type) Marshal.PrelinkAll(Type) Method

Definition

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

public:
 static void PrelinkAll(Type ^ c);
[System.Security.SecurityCritical]
public static void PrelinkAll (Type c);
static member PrelinkAll : Type -> unit
Public Shared Sub PrelinkAll (c As Type)

Parameters

c
Type Type Type Type

The class whose methods are to be checked.

Exceptions

Remarks

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.

Security

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

Applies to

See also