This documentation is archived and is not being maintained.

IRemoteDelegateContract Interface

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

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

public interface IRemoteDelegateContract : 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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5