MessageEnumerator.Reset Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resets the current enumerator so it points to the head of the queue.
public:
virtual void Reset();
public void Reset ();
abstract member Reset : unit -> unit
override this.Reset : unit -> unit
Public Sub Reset ()
Implements
Remarks
An enumerator can only move in a forward direction. Use this method to start over at the beginning of the queue.
After calling Reset, the cursor points to the first message. You do not need to call MoveNext after calling Reset to move the cursor forward to the first message in the queue.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.