예제 #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="aBankId"></param>
        /// <param name="aFileUri"></param>
        /// <param name="aMute"></param>
        /// <param name="aPersist"></param>
        public void SyncSet(String aDeviceId, uint aBankId, String aFileUri, bool aMute, bool aPersist)
        {
            SyncSetAvOpenhomeOrgExakt1 sync = new SyncSetAvOpenhomeOrgExakt1(this);

            BeginSet(aDeviceId, aBankId, aFileUri, aMute, aPersist, sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
        }
 /// <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="aBankId"></param>
 /// <param name="aFileUri"></param>
 /// <param name="aMute"></param>
 /// <param name="aPersist"></param>
 public void SyncSet(String aDeviceId, uint aBankId, String aFileUri, bool aMute, bool aPersist)
 {
     SyncSetAvOpenhomeOrgExakt1 sync = new SyncSetAvOpenhomeOrgExakt1(this);
     BeginSet(aDeviceId, aBankId, aFileUri, aMute, aPersist, sync.AsyncComplete());
     sync.Wait();
     sync.ReportError();
 }