Share via


IInteropObjectContract2 Members

Include Protected Members
Include Inherited Members

This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.

Represents an instance of a COM class in the host object model of a COM host application.

The IInteropObjectContract2 type exposes the following members.

Methods

  Name Description
Public method AcquireLifetimeToken Specifies that the contract is accessible to a client until the client revokes the contract. (Inherited from IContract.)
Public method GetIUnknownInProcess Gets a pointer to the IUnknown interface of the COM object that this IInteropObjectContract2 represents.
Public method GetRemoteHashCode Returns a hash code for the IContract. (Inherited from IContract.)
Public method MarshalIUnknown Marshals the COM object represented by IInteropObjectContract2 between the host application and the add-in.
Public method QueryContract Returns a contract that is implemented by this contract. (Inherited from IContract.)
Public method RemoteEquals Indicates whether the specified contract is equal to this IContract. (Inherited from IContract.)
Public method RemoteToString Returns a string representation of the current IContract. (Inherited from IContract.)
Public method RevokeLifetimeToken Specifies that the contract is no longer accessible to a client. (Inherited from IContract.)

Top

See Also

Reference

IInteropObjectContract2 Interface

Microsoft.VisualStudio.Tools.Applications.Contract Namespace