MessageQueue.CreateCursor Method

Definition

Creates a new Cursor for the current message queue.

public:
 System::Messaging::Cursor ^ CreateCursor();
public System.Messaging.Cursor CreateCursor ();
member this.CreateCursor : unit -> System.Messaging.Cursor
Public Function CreateCursor () As Cursor

Returns

A new Cursor for the current message queue. This cursor is used to maintain a specific location in the queue when reading the queue's messages.

Applies to

See also