IRemoteMethodInfoContract Interface


Defines a contract that components can use to access information about a method across application domain and process boundaries.

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

public interface IRemoteMethodInfoContract : IContract


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


Returns information about the method that this IRemoteMethodInfoContract identifies.


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

System_CAPS_pubmethodInvoke(IRemoteObjectContract, BindingFlags, IRemoteArgumentArrayContract, Int32)

Invokes the method that this IRemoteMethodInfoContract identifies.


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


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


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


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

An IRemoteMethodInfoContract represents a method of a remote object that implements the IRemoteObjectContract interface.

To access one or more methods of a remote object, use the GetRemoteType method to get an IRemoteTypeContract that represents the type of the remote object. Then, call the GetMethod or GetMethods method.

.NET Framework
Available since 3.5
Return to top