void mNativeEventsListener_onHoldEvent(object sender, SipHoldEventArgs e) { this.Dispatcher.BeginInvoke((System.Threading.ThreadStart) delegate { if (mViewModel is CallStatusViewModel) { (mViewModel as CallStatusViewModel).HoldState = e.State; } }); }
void mNativeEventsListener_onHoldEvent(object sender, SipHoldEventArgs e) { this.Dispatcher.BeginInvoke((System.Threading.ThreadStart)delegate { if (mViewModel is CallStatusViewModel) { (mViewModel as CallStatusViewModel).HoldState = e.State; } }); }