Collapse All Expand All | Language Filter: Visual Basic Language Filter: C#Language Filter: Visual C++Language Filter: JavaScript Visual Basic C# Visual C++ JavaScript | Example | See Also
.NET Framework Class Library
RemoteEventService..::IsEventPollingEnabled Property

BMXNET 4.0 Developer API

EventPolling is used for RemoteService events and Async RPC calls. IsEventPollingEnabled is used to turn polling on and off: True for on and False for off. The Async RPC framework and remote event service needs polling to be turned on.

Namespace: IndianHealthService.BMXNet
Assembly: BMXNET40 (in BMXNET40.dll)

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    bool IsEventPollingEnabled { get; set; }

    Property IsEventPollingEnabled As Boolean

    property bool IsEventPollingEnabled {
    	bool get ();
    	void set (bool value);
    }

# Remarks

If Async RPC's or remote events are not working debug the RemoteEventService to verify polling is enabled and configured.

# Examples

If using Async RPC or remote service events activate and configure the timer when your applications starts

Copy Code
                ... //Poll every 10000 ms, or 10 seconds
                    this.RemoteSession.EventServices.EventPollingInterval=10000;
                    this.RemoteSession.EventServices.IsEventPollingEnabled=True;
                ...
                ... //Perhaps in another part of your application you have a small active Chat Window
                ... //Increase the frequency of polling by decreasing the EventPollingInterval to every 2 seconds
                    this.RemoteSession.EventServices.EventPollingInterval=2000;

# See Also

RemoteEventService Interface
IndianHealthService.BMXNet Namespace