Lightstreamer Silverlight Client 1.4.2
ContentsIndexHome
PreviousUpNext
ExtendedTableInfo.ExtendedTableInfo Constructor

Constructs a table specification with basic table attributes. The details of the items and fields used are specified. This requires that a LiteralBasedProvider or equivalent Metadata Adapter is configured on the Server. As a consequence, the item and field names specified cannot be empty or null and cannot contain spaces.

C++
public: ExtendedTableInfo(string[] items, string mode, string[] fields, bool snapshot);
C#
public ExtendedTableInfo(string[] items, string mode, string[] fields, bool snapshot);
Visual Basic
Public Sub New(items As string[], mode As string, fields As string[], snapshot As bool)
Parameters 
Description 
string[] items 
Array of names of the items in the table; it cannot be empty. A copy of the array is stored internally.  
string mode 
Subscription mode for all items in the table. It should be equal to one of the constants defined in the class.  
string[] fields 
Array of names of the fields for all items in the table; it cannot be empty. A copy of the array is stored internally.  
bool snapshot 
If true, requires the snapshot for all items in the table. The snapshot can be requested only for MERGE, DISTINCT and COMMAND Items mode. However, the flag is ignored if RequestUnfilteredDispatching() is also called, as snapshot management is currently not supported for unfiltered COMMAND mode.  
Exceptions 
Description 
if the snapshot request is not compatible with the supplied subscription mode or any of the item or field names in the given arrays contains a space or it is empty or null.