public property TradeDeskEventAut.Kind
Brief
Kind of the event.
Declaration | ||||
|
||||
|
Details
To check what kind of pending event you received you can do simple comparison between the field "Kind" and some of the constants of the same object.
if (event1.Kind == event1.KIND_ADD)
{
// Handle event as ADD event.
}
else if (event1.Kind == event1.KIND_CHANGE)
{
// Handle event as CHANGE event.
}
else if (event1.Kind == event1.KIND_REMOVE)
{
// Handle event as REMOVE event.
}
KIND_ADD |
A row is added into the table. |
KIND_CHANGE |
A row is changed. |
KIND_REMOVE |
A row is about to be removed from the table. |
KIND_SESSIONSTATUSCHANGE |
The session status is changed. |
KIND_REQUESTCOMPLETED |
Request sent by a traiding method completed. |
KIND_REQUESTFAILED |
Request sent by a trading method failed. |
KIND_BATCHREQUESTCOMPLETED |
Request belonging to a batch completed. |
KIND_BATCHREQUESTFAILED |
Request belonging to a batch failed. |
KIND_BATCHCOMPLETED |
Batch completed. |
KIND_TABLESTATUSCHANGED |
Table status has changed. |
KIND_SESSIONSLISTCOMPLETED |
Request for retrieving trading sessions completed. |
KIND_SESSIONSLISTFAILED |
Request for retrieving trading sessions failed. |
KIND_PRICEHISTORYCOMPLETED |
Request for getting historical prices completed. |
KIND_PRICEHISTORYFAILED |
Request for getting historical prices failed. |
KIND_PRICESESSIONSTATUSCHANGE |
The status of the connection with the price server is changed. |
The Kind
property is defined in the TradeDeskEventAut
class.