IRemoteTypeContract Interface

IRemoteTypeContract Interface

 

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

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

public interface IRemoteTypeContract : 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_pubmethodGetCanonicalName()

Returns the canonical name of the current IRemoteTypeContract.

System_CAPS_pubmethodGetEvent(String, BindingFlags)

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

System_CAPS_pubmethodGetEvents(BindingFlags)

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

System_CAPS_pubmethodGetField(String, BindingFlags)

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

System_CAPS_pubmethodGetFields(BindingFlags)

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

System_CAPS_pubmethodGetInterface(String)

Returns an interface that is implemented by the current IRemoteTypeContract.

System_CAPS_pubmethodGetInterfaces()

Returns the interfaces that are implemented by the current IRemoteTypeContract.

System_CAPS_pubmethodGetMember(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.

System_CAPS_pubmethodGetMembers(BindingFlags)

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

System_CAPS_pubmethodGetMethod(String, BindingFlags, IArrayContract<IRemoteTypeContract>)

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

System_CAPS_pubmethodGetMethods(BindingFlags)

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

System_CAPS_pubmethodGetProperties(BindingFlags)

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

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

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

System_CAPS_pubmethodGetRemoteHashCode()

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

System_CAPS_pubmethodGetTypeData()

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

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

Invokes the specified member of the current IRemoteTypeContract.

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

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.

.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft