System.Messaging Reference (Document! X Sample)



MachineName Property (MessageQueuePermissionAttribute)
Gets or sets the name of the computer where the Message Queuing queue is located.
Syntax
'Declaration
 
Public Property MachineName As String
'Usage
 
Dim instance As MessageQueuePermissionAttribute
Dim value As String
 
instance.MachineName = value
 
value = instance.MachineName
public string MachineName {get; set;}
public:
property String^ MachineName {
   String^ get();
   void set (    String^ value);
}

Property Value

The name of the computer where the queue is located.
Exceptions
ExceptionDescription
The value is null.
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