MethodRental Class

Definition

Provides a fast way to swap method body implementation given a method of a class.

[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class MethodRental : System.Runtime.InteropServices._MethodRental
Inheritance
MethodRental
Attributes
Implements

Inherited Members

System.Object

Fields

JitImmediate

Specifies that the method should be just-in-time (JIT) compiled immediately.

JitOnDemand

Specifies that the method should be just-in-time (JIT) compiled when needed.

Methods

SwapMethodBody(Type, Int32, IntPtr, Int32, Int32)

Swaps the body of a method.

Explicit Interface Implementations

_MethodRental.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Maps a set of names to a corresponding set of dispatch identifiers.

_MethodRental.GetTypeInfo(UInt32, UInt32, IntPtr)

Retrieves the type information for an object, which can then be used to get the type information for an interface.

_MethodRental.GetTypeInfoCount(UInt32)

Retrieves the number of type information interfaces that an object provides (either 0 or 1).

_MethodRental.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Provides access to properties and methods exposed by an object.