IRemoteEventInfoContract IRemoteEventInfoContract IRemoteEventInfoContract IRemoteEventInfoContract Interface


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

public interface class IRemoteEventInfoContract : System::AddIn::Contract::IContract
public interface IRemoteEventInfoContract : System.AddIn.Contract.IContract
type IRemoteEventInfoContract = interface
    interface IContract
Public Interface IRemoteEventInfoContract
Implements IContract


An IRemoteEventInfoContract provides information about an event of a remote object that implements the IRemoteObjectContract interface.

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


AcquireLifetimeToken() AcquireLifetimeToken() AcquireLifetimeToken() AcquireLifetimeToken()

Specifies that the contract is accessible to a client until the client revokes the contract.

(Inherited from IContract)
GetAddMethod() GetAddMethod() GetAddMethod() GetAddMethod()

Returns the method that was used to add an event handler delegate to the event that this IRemoteEventInfoContract identifies.

GetMemberData() GetMemberData() GetMemberData() GetMemberData()

Returns information about the event that this IRemoteEventInfoContract identifies.

GetRemoteHashCode() GetRemoteHashCode() GetRemoteHashCode() GetRemoteHashCode()

Returns a hash code for the IContract.

(Inherited from IContract)
GetRemoveMethod() GetRemoveMethod() GetRemoveMethod() GetRemoveMethod()

Returns the method that was used to remove an event handler delegate from the event that this IRemoteEventInfoContract identifies.

QueryContract(String) QueryContract(String) QueryContract(String) QueryContract(String)

Returns a contract that is implemented by this contract.

(Inherited from IContract)
RemoteEquals(IContract) RemoteEquals(IContract) RemoteEquals(IContract) RemoteEquals(IContract)

Indicates whether the specified contract is equal to this IContract.

(Inherited from IContract)
RemoteToString() RemoteToString() RemoteToString() RemoteToString()

Returns a string representation of the current IContract.

(Inherited from IContract)
RevokeLifetimeToken(Int32) RevokeLifetimeToken(Int32) RevokeLifetimeToken(Int32) RevokeLifetimeToken(Int32)

Specifies that the contract is no longer accessible to a client.

(Inherited from IContract)

Applies to