/// <summary>
 /// Callback to handle successful server interaction.
 /// </summary>
 /// <param name="response">Server response</param>
 private void EventSentSuccessfulCallback(EventsModels.WriteEventsResponse response)
 {
     // add code to work with successful callback
 }
 /// <summary>
 /// Callback to handle successful server interaction.
 /// </summary>
 /// <param name="response">Server response</param>
 private void EventSentSuccessfulCallback(EventsModels.WriteEventsResponse response)
 {
     retryCount = 0;
 }