Delegate Contract Interface
Defines a contract that components can use to access a delegate across application domain and process boundaries.
public interface class IRemoteDelegateContract : System::AddIn::Contract::Automation::IRemoteObjectContract
public interface IRemoteDelegateContract : System.AddIn.Contract.Automation.IRemoteObjectContract
type IRemoteDelegateContract = interface interface IRemoteObjectContract interface IContract
Public Interface IRemoteDelegateContract Implements IRemoteObjectContract
To invoke a delegate, use the InvokeDelegate method.
To add a delegate to an event or remove a delegate from an event, call the Invoke method of the IRemoteMethodInfoContract that is returned by GetAddMethod or GetRemoveMethod. Pass an IRemoteDelegateContract that represents the delegate to the
parameters parameter of Invoke.
Specifies that the contract is accessible to a client until the client revokes the contract.(Inherited from IContract)
Returns a hash code for the IContract.(Inherited from IContract)
Invokes the delegate that this IRemoteDelegateContract identifies.
Returns a contract that is implemented by this contract.(Inherited from IContract)
Casts the object identified by the current IRemoteObjectContract to a specified type.(Inherited from IRemoteObjectContract)
Indicates whether the specified contract is equal to this IContract.(Inherited from IContract)
Returns a string representation of the current IContract.(Inherited from IContract)
Specifies that the contract is no longer accessible to a client.(Inherited from IContract)