ExternalDataEventArgs Class
Assembly: System.Workflow.Activities (in system.workflow.activities.dll)
A local communication interface marked with ExternalDataExchangeAttribute must declare a type that derives from ExternalDataEventArgs in the interface definition in order for the corresponding event to be handled in a workflow with a HandleExternalEventActivity activity.
An event class that inherits from ExternalDataEventArgs needs to implement a constructor that uses the :base(instanceId) constructor. In addition the new event class needs to be marked as Serializable as shown in the following code.
[Serializable] public class TaskEventArgs : ExternalDataEventArgs { private string orderName; public TaskEventArgs(Guid instanceId, string id) :base(instanceId) { orderName = id; } public string Id { get { return orderName; } set { orderName = value; } } }
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.