MessageQueue.CreateCursor 方法

定義

建立目前訊息佇列的新 CursorCreates 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

傳回

Cursor

目前訊息佇列的新 CursorA 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.

適用於

另請參閱