Uredi

Deli z drugimi prek


IRemoteMethodInfoContract Interface

Definition

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

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

Remarks

An IRemoteMethodInfoContract represents a method of a remote object that implements the IRemoteObjectContract interface.

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

Methods

AcquireLifetimeToken()

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

(Inherited from IContract)
GetMethodData()

Returns information about the method that this IRemoteMethodInfoContract identifies.

GetRemoteHashCode()

Returns a hash code for the IContract.

(Inherited from IContract)
Invoke(IRemoteObjectContract, BindingFlags, IRemoteArgumentArrayContract, Int32)

Invokes the method that this IRemoteMethodInfoContract 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