Szerkesztés

Megosztás a következőn keresztül:


IRemoteEventInfoContract Interface

Definition

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
Implements

Remarks

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.

Methods

AcquireLifetimeToken()

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

(Inherited from IContract)
GetAddMethod()

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

GetMemberData()

Returns information about the event that this IRemoteEventInfoContract identifies.

GetRemoteHashCode()

Returns a hash code for the IContract.

(Inherited from IContract)
GetRemoveMethod()

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

QueryContract(String)

Returns a contract that is implemented by this contract.

(Inherited from IContract)
RemoteEquals(IContract)

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(Int32)

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

(Inherited from IContract)

Applies to