Defines a contract that components can use to access type information and invoke members across application domain and process boundaries.
Assembly: System.AddIn.Contract (in System.AddIn.Contract.dll)
Thetype exposes the following members.
|AcquireLifetimeToken||Specifies that the contract is accessible to a client until the client revokes the contract. (Inherited from IContract.)|
|GetCanonicalName||Returns the canonical name of the current .|
|GetEvent||Returns an IRemoteEventInfoContract that provides access to a specified event of the current .|
|GetEvents||Returns a collection of IRemoteEventInfoContract objects that provides access to the specified events of the current .|
|GetField||Returns an IRemoteFieldInfoContract that provides access to a specified field of the current .|
|GetFields||Returns a collection of IRemoteFieldInfoContract objects that provides access to the specified fields of the current .|
|GetInterface||Returns an interface that is implemented by the current .|
|GetInterfaces||Returns the interfaces that are implemented by the current .|
|GetMember||Returns a collection of IContract objects that provides access to all the specified members of the specified member type in the current , using the specified binding constraints.|
|GetMembers||Returns a collection of IContract objects that provides access to all the members in the current that match the specified binding constraints.|
|GetMethod||Returns an IRemoteMethodInfoContract that provides access to a specified method of the current .|
|GetMethods||Returns a collection of IRemoteMethodInfoContract objects that provides access to the specified methods of the current .|
|GetProperties||Returns a collection of IRemotePropertyInfoContract objects that provides access to the specified properties of the current .|
|GetProperty||Returns an IRemotePropertyInfoContract that provides access to a specified property of the current .|
|GetRemoteHashCode||Returns a hash code for the IContract. (Inherited from IContract.)|
|GetTypeData||Returns type information about the object that the current identifies.|
|InvokeMember||Invokes the specified member of the current .|
|QueryContract||Returns a contract that is implemented by this contract. (Inherited from IContract.)|
|RemoteEquals||Indicates whether the specified contract is equal to this IContract. (Inherited from IContract.)|
|RemoteToString||Returns a string representation of the current IContract. (Inherited from IContract.)|
|RevokeLifetimeToken||Specifies that the contract is no longer accessible to a client. (Inherited from IContract.)|
To get information about the type of an object, components call the GetTypeData method.
To get information about the members of an object, components call one of the methods that returns information about a particular kind of member. For example, to get information about the events of an object, components can use the GetEvent or GetEvents method.
To invoke a member of an object, components use the InvokeMember method.