Gets or sets a boolean value that indicates whether the DataListener will initialize the Data from the Server on startup.
Declaration Syntax
C# | Visual Basic | Visual C++ |
[DefaultValueAttribute(true)] public bool InitializeData { get; set; }
<DefaultValueAttribute(True)> _ Public Property InitializeData As Boolean
[DefaultValueAttribute(true)] public: property bool InitializeData { bool get (); void set (bool value); }
Remarks
InitializeData should be enabled only if the Server software on port 1003 is programmed to accept PacketType11.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException |
InitializeData is being enabled when CacheData is disabled. |