void PricingService_PriceUpdate(object sender, PriceUpdateEventArgs e) { if (((ICommunicationObject)_callback).State == CommunicationState.Opened) { try { _callback.PriceUpdate(e.LatestPrice); } catch { UnSubscribe(); } } else { UnSubscribe(); } }
void PricingService_PriceUpdate(object sender, PriceUpdateEventArgs e) { if (((ICommunicationObject)_callback).State == CommunicationState.Opened) { try { _callback.PriceUpdate(e.LatestPrice); } catch { UnSubscribe(); } } else { UnSubscribe(); } }