IRemoteEventInfoContract Interface

 

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

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

public interface IRemoteEventInfoContract : 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_pubmethodGetAddMethod()

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

System_CAPS_pubmethodGetMemberData()

Returns information about the event that this IRemoteEventInfoContract identifies.

System_CAPS_pubmethodGetRemoteHashCode()

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

System_CAPS_pubmethodGetRemoveMethod()

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

System_CAPS_pubmethodQueryContract(String)

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

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.)

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.

.NET Framework
Available since 3.5
Return to top
Show: