'Declaration
Public Function New( _ ByVal path As String, _ ByVal sharedModeDenyReceive As Boolean, _ ByVal enableCache As Boolean _ )
'Usage
Dim path As String Dim sharedModeDenyReceive As Boolean Dim enableCache As Boolean Dim instance As New MessageQueue(path, sharedModeDenyReceive, enableCache)
public MessageQueue( string path, bool sharedModeDenyReceive, bool enableCache )
public: MessageQueue( String^ path, bool sharedModeDenyReceive, bool enableCache )
Parameters
- path
- The location of the queue referenced by this MessageQueue, which can be "." for the local computer.
- sharedModeDenyReceive
- true to grant exclusive read access to the first application that accesses the queue; otherwise, false.
- enableCache
- true to create and use a connection cache; otherwise, false.