Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft