Επεξεργασία

Κοινή χρήση μέσω


IRemoteTypeContract Interface

Definition

Defines a contract that components can use to access type information and invoke members across application domain and process boundaries.

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

Remarks

To get an IRemoteTypeContract, components can call the GetRemoteType method of an object that implements the IRemoteObjectContract interface.

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.

Methods

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

GetEvent(String, BindingFlags)

Returns an IRemoteEventInfoContract that provides access to a specified event of the current IRemoteTypeContract.

GetEvents(BindingFlags)

Returns a collection of IRemoteEventInfoContract objects that provides access to the specified events of the current IRemoteTypeContract.

GetField(String, BindingFlags)

Returns an IRemoteFieldInfoContract that provides access to a specified field of the current IRemoteTypeContract.

GetFields(BindingFlags)

Returns a collection of IRemoteFieldInfoContract objects that provides access to the specified fields of the current IRemoteTypeContract.

GetInterface(String)

Returns an interface that is implemented by the current IRemoteTypeContract.

GetInterfaces()

Returns the interfaces that are implemented by the current IRemoteTypeContract.

GetMember(String, MemberTypes, BindingFlags)

Returns a collection of IContract objects that provides access to all the specified members of the specified member type in the current IRemoteTypeContract, using the specified binding constraints.

GetMembers(BindingFlags)

Returns a collection of IContract objects that provides access to all the members in the current IRemoteTypeContract that match the specified binding constraints.

GetMethod(String, BindingFlags, IArrayContract<IRemoteTypeContract>)

Returns an IRemoteMethodInfoContract that provides access to a specified method of the current IRemoteTypeContract.

GetMethods(BindingFlags)

Returns a collection of IRemoteMethodInfoContract objects that provides access to the specified methods of the current IRemoteTypeContract.

GetProperties(BindingFlags)

Returns a collection of IRemotePropertyInfoContract objects that provides access to the specified properties of the current IRemoteTypeContract.

GetProperty(String, BindingFlags, IRemoteTypeContract, IArrayContract<IRemoteTypeContract>)

Returns an IRemotePropertyInfoContract that provides access to a specified property of the current IRemoteTypeContract.

GetRemoteHashCode()

Returns a hash code for the IContract.

(Inherited from IContract)
GetTypeData()

Returns type information about the object that the current IRemoteTypeContract identifies.

InvokeMember(String, BindingFlags, IRemoteObjectContract, IRemoteArgumentArrayContract, Boolean[], Int32)

Invokes the specified member of the current IRemoteTypeContract.

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