MessageQueue Constructor (String^, QueueAccessMode)

 

Initializes a new instance of the MessageQueue class.

Namespace:   System.Messaging
Assembly:  System.Messaging (in System.Messaging.dll)

public:
MessageQueue(
	String^ path,
	QueueAccessMode accessMode
)

Parameters

path
Type: System::String^

The location of the queue referenced by this MessageQueue, which can be "." for the local computer.

accessMode
Type: System.Messaging::QueueAccessMode

One of the QueueAccessMode values.

.NET Framework
Available since 2.0
Return to top
Show: