Freigeben über


WrapperPolicy Class

Definition

public ref class WrapperPolicy abstract sealed
public ref class WrapperPolicy abstract sealed
class WrapperPolicy abstract sealed
public static class WrapperPolicy
type WrapperPolicy = class
Public Class WrapperPolicy
Inheritance
WrapperPolicy

Methods

CreateAggregatedObject(Object)

Wraps the provided object in a native layer that implements STA-threaded COM behavior.

CreateFreeThreadedAggregatedObject(Object)

Wraps the provided object in a native layer that implements free-threaded COM behavior.

TryGetWrapper(Object)

Return the RCW for the native IComWrapper instance aggregating "managedObject" if there is one. Return "null" if "managedObject" is not aggregated.

Applies to