DataProvider (Class)

Defines the structure for an object that opens or closes an asynchronous data path for provider classes.  

Namespace: tsdata.common

Properties

   Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).

  Name Type Description
Public property Load bool True to establish the connection to the data provider.
Public property Realtime bool True if the data provided is realtime. False if not realtime.
Public property State enum Gets the state of the data provider.  See DataState for a list of possible values.
Public property TimeZone enum Gets the TimeZone of the data provider. Local = 0, Exchange = 1. See TimeZone for a list of values.
Methods
  Name Description
Public property CloseProvider Closes the connection to the DataProvider.
Public property LoadProvider Opens the connection to the DataProvider.
Events
  Name Description
Public event StateChanged Occurs whenever the state of the provider is changed. See StateChangedEventArgs for the properties return by the handler's args parameter.