StrategyBasedComWrappers Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
A ComWrappers-based type that uses customizable strategy objects to implement COM object wrappers and managed object wrappers exposed to COM.
public ref class StrategyBasedComWrappers : System::Runtime::InteropServices::ComWrappers
[System.CLSCompliant(false)]
public class StrategyBasedComWrappers : System.Runtime.InteropServices.ComWrappers
[<System.CLSCompliant(false)>]
type StrategyBasedComWrappers = class
inherit ComWrappers
Public Class StrategyBasedComWrappers
Inherits ComWrappers
- Inheritance
- Attributes
Constructors
StrategyBasedComWrappers() |
Initializes a new instance of the ComWrappers class. |
Properties
DefaultIUnknownInterfaceDetailsStrategy |
Gets the default strategy to discover interface details about COM interfaces. |
DefaultIUnknownStrategy |
Gets the default strategy to use for calling |
Methods
ComputeVtables(Object, CreateComInterfaceFlags, Int32) |
Computes the desired Vtable for |
CreateCacheStrategy() |
Creates the caching strategy for a new COM object wrapper. |
CreateDefaultCacheStrategy() |
Creates the default strategy to use for caching COM objects. |
CreateObject(IntPtr, CreateObjectFlags) |
Creates a managed object for the object that |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetOrCreateComInterfaceForObject(Object, CreateComInterfaceFlags) |
Creates a COM representation of the supplied object that can be passed to a non-managed environment. (Inherited from ComWrappers) |
GetOrCreateInterfaceDetailsStrategy() |
Gets or creates the interface details strategy for a new COM object wrapper. |
GetOrCreateIUnknownStrategy() |
Gets or creates the IUnknown strategy for a new COM object wrapper. |
GetOrCreateObjectForComInstance(IntPtr, CreateObjectFlags) |
Gets the currently registered managed object or creates a new managed object and registers it. (Inherited from ComWrappers) |
GetOrRegisterObjectForComInstance(IntPtr, CreateObjectFlags, Object) |
Gets the currently registered managed object or uses the supplied managed object and registers it. (Inherited from ComWrappers) |
GetOrRegisterObjectForComInstance(IntPtr, CreateObjectFlags, Object, IntPtr) |
Get the currently registered managed object or uses the supplied managed object and registers it. (Inherited from ComWrappers) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ReleaseObjects(IEnumerable) |
Releases a collection of objects outside of the normal object or COM interface lifetime. |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |