System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessageQueue Class / MessageQueue Constructor



In This Topic
    MessageQueue Constructor
    In This Topic
    Overload List
    OverloadDescription
    Initializes a new instance of the MessageQueue class. After the default constructor initializes the new instance, you must set the instance's Path property before you can use the instance.  
    Initializes a new instance of the MessageQueue class that references the Message Queuing queue at the specified path.  
    Initializes a new instance of the MessageQueue class.  
    Initializes a new instance of the MessageQueue class that references the Message Queuing queue at the specified path and with the specified read-access restriction.  
    Initializes a new instance of the MessageQueue class.  
    Initializes a new instance of the MessageQueue class.  
    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