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



In This Topic
    MessageQueue Constructor()
    In This Topic
    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.
    Syntax
    'Declaration
     
    
    Public Function New()
    'Usage
     
    
    Dim instance As New MessageQueue()
    public MessageQueue()
    public:
    MessageQueue();
    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