This topic has not yet been rated - Rate this topic

CloudQueue.ApproximateMessageCount Property

Gets the approximate message count for the queue.

Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)
'Usage
Dim instance As CloudQueue
Dim value As Nullable(Of Integer)

value = instance.ApproximateMessageCount

public Nullable<int> ApproximateMessageCount { get; }
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public Nullable<int> get_ApproximateMessageCount ()

CompilerGeneratedAttribute 
public function get ApproximateMessageCount () : Nullable<int>

Property Value

Type: System.Nullable

The approximate message count.

To specify the lifespan of the approximate message count cache, set the ApproximateMessageCountCacheLength property. Messages that have been accessed with the GetMessage or GetMessages methods are included in this count unless they are deleted by using the DeleteMessage method.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

Target Platforms

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Thank you for your feedback
Thank you for your feedback. The topic has been updated and a new version will be published soon.
Hidden messages are counted
Note that this count does include messages that have been pulled from the queue using GetMessage or GetMessages, but that have not been deleted from the queue.