/// <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="aPublicKey"></param> /// <param name="aPreferences"></param> /// <param name="aRevision"></param> public void SyncGetPreferences(String aPublicKey, out String aPreferences, out uint aRevision) { SyncGetPreferencesRaumfeldComConfigService1 sync = new SyncGetPreferencesRaumfeldComConfigService1(this); BeginGetPreferences(aPublicKey, sync.AsyncComplete()); sync.Wait(); sync.ReportError(); aPreferences = sync.Preferences(); aRevision = sync.Revision(); }