/// <summary> /// Invoke the action synchronously /// </summary> /// <remarks>Blocks until the action has been processed /// on the device and sets any output arguments</remarks> /// <param name="aTrackCount"></param> /// <param name="aDetailsCount"></param> /// <param name="aMetatextCount"></param> public void SyncCounters(out uint aTrackCount, out uint aDetailsCount, out uint aMetatextCount) { SyncCountersAvOpenhomeOrgInfo1 sync = new SyncCountersAvOpenhomeOrgInfo1(this); BeginCounters(sync.AsyncComplete()); sync.Wait(); sync.ReportError(); aTrackCount = sync.TrackCount(); aDetailsCount = sync.DetailsCount(); aMetatextCount = sync.MetatextCount(); }
/// <summary> /// Invoke the action synchronously /// </summary> /// <remarks>Blocks until the action has been processed /// on the device and sets any output arguments</remarks> /// <param name="aTrackCount"></param> /// <param name="aDetailsCount"></param> /// <param name="aMetatextCount"></param> public void SyncCounters(out uint aTrackCount, out uint aDetailsCount, out uint aMetatextCount) { SyncCountersAvOpenhomeOrgInfo1 sync = new SyncCountersAvOpenhomeOrgInfo1(this); BeginCounters(sync.AsyncComplete()); sync.Wait(); sync.ReportError(); aTrackCount = sync.TrackCount(); aDetailsCount = sync.DetailsCount(); aMetatextCount = sync.MetatextCount(); }