MessageQueue.InfiniteQueueSize Field
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.
Specifies that no size restriction exists for a queue.
public: static initonly long InfiniteQueueSize;
public static readonly long InfiniteQueueSize;
staticval mutable InfiniteQueueSize : int64
Public Shared ReadOnly InfiniteQueueSize As Long
Field Value
Examples
The following code example demonstrates the use of the InfiniteQueueSize member.
// Set the queue's MaximumQueueSize property to
// MessageQueue.InfiniteQueueSize.
queue.MaximumQueueSize = MessageQueue.InfiniteQueueSize;
// Display the new value of the queue's MaximumQueueSize property.
Console.WriteLine("MessageQueue.MaximumQueueSize: {0}",
queue.MaximumQueueSize.ToString());
Remarks
This member is frequently used when setting MaximumJournalSize or MaximumQueueSize.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.