Export (0) Print
Expand All

CorrelationAliasAttribute Class

Overrides the correlation parameter value when the correlation value must be obtained from a parameter other than that indicated by the CorrelationParameterAttribute. This class cannot be inherited.

Namespace: System.Workflow.Activities
Assembly: System.Workflow.Activities (in system.workflow.activities.dll)

[AttributeUsageAttribute(AttributeTargets.Method|AttributeTargets.Event|AttributeTargets.Delegate, AllowMultiple=true)] 
public sealed class CorrelationAliasAttribute : Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Method|AttributeTargets.Event|AttributeTargets.Delegate, AllowMultiple=true) */ 
public final class CorrelationAliasAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.Method|AttributeTargets.Event|AttributeTargets.Delegate, AllowMultiple=true) 
public final class CorrelationAliasAttribute extends Attribute
Not applicable.

In order to match an incoming message with the appropriate workflow instance, the message and the workflow instance must share some key. This key is called a correlation set. Typically, the key can be a single-valued correlation set. This means that some ID field in the message can be matched against an ID of the same type that is held by schedule instances.

The CorrelationAliasAttribute is applied to a method or an event on an interface, on a data exchange interface.

System.Object
   System.Attribute
    System.Workflow.Activities.CorrelationAliasAttribute

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2015 Microsoft