System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessageQueueInstaller Class / MessageQueueInstaller Constructor / MessageQueueInstaller Constructor(MessageQueue)
The MessageQueue component whose settings determine the property settings of the new queue installed.



In This Topic
    MessageQueueInstaller Constructor(MessageQueue)
    In This Topic
    Initializes a new instance of the MessageQueueInstaller class, initializing the installation settings to those of an existing MessageQueue instance.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal componentToCopy As MessageQueue _
    )
    'Usage
     
    
    Dim componentToCopy As MessageQueue
     
    Dim instance As New MessageQueueInstaller(componentToCopy)
    public MessageQueueInstaller( 
       MessageQueue componentToCopy
    )
    public:
    MessageQueueInstaller( 
       MessageQueue^ componentToCopy
    )

    Parameters

    componentToCopy
    The MessageQueue component whose settings determine the property settings of the new queue 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