/// <summary> /// Handles the response for the registration to the Polling Service /// </summary> private void OnReceiveOrderCancellationsReceived(object sender, ReceiveOrderCancellationsReceivedEventArgs e) { tbConnected.Text = e.Error == null ? e.sessionId : "Not connected."; }