Exemple #1
0
        /// <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="aDeviceId"></param>
        /// <param name="aSettings"></param>
        public void SyncDeviceSettings(String aDeviceId, out String aSettings)
        {
            SyncDeviceSettingsAvOpenhomeOrgExakt1 sync = new SyncDeviceSettingsAvOpenhomeOrgExakt1(this);

            BeginDeviceSettings(aDeviceId, sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
            aSettings = sync.Settings();
        }
 /// <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="aDeviceId"></param>
 /// <param name="aSettings"></param>
 public void SyncDeviceSettings(String aDeviceId, out String aSettings)
 {
     SyncDeviceSettingsAvOpenhomeOrgExakt1 sync = new SyncDeviceSettingsAvOpenhomeOrgExakt1(this);
     BeginDeviceSettings(aDeviceId, sync.AsyncComplete());
     sync.Wait();
     sync.ReportError();
     aSettings = sync.Settings();
 }