System.Messaging Reference (Document! X Sample)



SourceMachine Property (MessagePropertyFilter)
Gets or sets a value that indicates whether to retrieve SourceMachine property information when receiving or peeking a message.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<MessagingDescriptionAttribute("Specifies the computer where the message originated.")>
Public Property SourceMachine As Boolean
'Usage
 
Dim instance As MessagePropertyFilter
Dim value As Boolean
 
instance.SourceMachine = value
 
value = instance.SourceMachine
[DefaultValue()]
[MessagingDescription("Specifies the computer where the message originated.")]
public bool SourceMachine {get; set;}
[DefaultValue()]
[MessagingDescription("Specifies the computer where the message originated.")]
public:
property bool SourceMachine {
   bool get();
   void set (    bool value);
}

Property Value

true to receive SourceMachine 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