SmartFoxServer Silverlight API
GetQueuePollSpeed Method
Namespaces ► SmartFoxClientAPI ► SmartFoxClient ► GetQueuePollSpeed()()()
The minimum interval between two queue polling requests.
The default value is 100 milliseconds. Accepted values are between 0 and 10000 milliseconds (10 seconds).
Declaration Syntax

C# | Visual Basic | Visual C++

    public int GetQueuePollSpeed()

    Public Function GetQueuePollSpeed As Integer

    public:
    int GetQueuePollSpeed()

Return Value
The current queue poll speed in milliseconds.
Examples
The following example shows how to set the polling speed.
CopyC#

    Debug.WriteLine("Poll speed: " + smartFox.GetQueuePollSpeed());
    smartFox.SetQueuePollSpeed(200);

Assembly: SmartFoxClientAPI_Silverlight (Module: SmartFoxClientAPI_Silverlight) Version: 1.0.0.0 (1.0.0.0)