IRemoteObjectContract Interface

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Defines a contract that components can use to access an object across application domain and process boundaries.

Namespace:   System.AddIn.Contract.Automation
Assembly:  System.AddIn.Contract (in System.AddIn.Contract.dll)

public interface IRemoteObjectContract : IContract

NameDescription
System_CAPS_pubmethodAcquireLifetimeToken()

Specifies that the contract is accessible to a client until the client revokes the contract.(Inherited from IContract.)

System_CAPS_pubmethodGetRemoteHashCode()

Returns a hash code for the IContract.(Inherited from IContract.)

System_CAPS_pubmethodGetRemoteType()

Returns an IRemoteTypeContract that specifies the type of the current IRemoteObjectContract.

System_CAPS_pubmethodQueryContract(String)

Returns a contract that is implemented by this contract.(Inherited from IContract.)

System_CAPS_pubmethodRemoteCast(String)

Casts the object identified by the current IRemoteObjectContract to a specified type.

System_CAPS_pubmethodRemoteEquals(IContract)

Indicates whether the specified contract is equal to this IContract.(Inherited from IContract.)

System_CAPS_pubmethodRemoteToString()

Returns a string representation of the current IContract.(Inherited from IContract.)

System_CAPS_pubmethodRevokeLifetimeToken(Int32)

Specifies that the contract is no longer accessible to a client.(Inherited from IContract.)

When you implement IRemoteObjectContract on a type, components can use the contract to access type information for objects of the type. Components access type information by calling the GetRemoteType method to obtain an IRemoteTypeContract. The IRemoteTypeContract interface defines a contract that components can use to access specific type and member information, and to invoke members.

.NET Framework
Available since 3.5
Return to top
Show: