System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessagePropertyFilter Class / CorrelationId Property



In This Topic
    CorrelationId Property (MessagePropertyFilter)
    In This Topic
    Gets or sets a value that indicates whether to retrieve CorrelationId property information when receiving or peeking a message.
    Syntax
    'Declaration
     
    
    Public Property CorrelationId As Boolean
    'Usage
     
    
    Dim instance As MessagePropertyFilter
    Dim value As Boolean
     
    instance.CorrelationId = value
     
    value = instance.CorrelationId
    public bool CorrelationId {get; set;}
    public:
    property bool CorrelationId {
       bool get();
       void set (    bool value);
    }

    Property Value

    true to receive CorrelationId information; otherwise, false. The default is false.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also