CorrelationParameterAttribute Class
Indicates the name of the parameter used for correlation in the methods and events defined on an ExternalDataExchange interface. This class cannot be inherited.
Assembly: System.Workflow.Activities (in System.Workflow.Activities.dll)
Default setting; can be overridden by the CorrelationAliasAttribute.
The following code example demonstrates how to use a CorrelationParameterAttribute for an EnternalDataExchange interface. This code example is from the CorrelatedLocalService SDK sample. For more information, see Correlated Local Service Sample.
[ExternalDataExchange] [CorrelationParameter("taskId")] public interface ITaskService { [CorrelationInitializer] void CreateTask(string taskId, string assignee, string text); [CorrelationAlias("taskId", "e.Id")] event EventHandler<TaskEventArgs> TaskCompleted; }
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.