System.Messaging Reference (Document! X Sample)
MulticastAddress Property (MessageQueue)



System.Messaging Namespace > MessageQueue Class : MulticastAddress Property
Introduced in MSMQ 3.0. Gets or sets the multicast address associated with the queue.
Syntax
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<DefaultValueAttribute()>
<MessagingDescriptionAttribute("Specifies the IP multicast address associated with the queue.")>
Public Property MulticastAddress As String
'Usage
 
Dim instance As MessageQueue
Dim value As String
 
instance.MulticastAddress = value
 
value = instance.MulticastAddress
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[DefaultValue()]
[MessagingDescription("Specifies the IP multicast address associated with the queue.")]
public string MulticastAddress {get; set;}
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[DefaultValue()]
[MessagingDescription("Specifies the IP multicast address associated with the queue.")]
public:
property String^ MulticastAddress {
   String^ get();
   void set (    String^ value);
}

Property Value

A System.String that contains a valid multicast address (in the form shown below) or null, which indicates that the queue is not associated with a multicast address. Copy Code<address>:<port>
Exceptions
ExceptionDescription
MSMQ 3.0 is not installed.
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

Reference

MessageQueue Class
MessageQueue Members