SyncGetUint() public method

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncGetUint ( uint &aValueUint ) : void
aValueUint uint
return void
Beispiel #1
0
 private static void ActionThread(object aArgs)
 {
     ThreadArgs args = (ThreadArgs)aArgs;
     using (CpProxyOpenhomeOrgTestBasic1 proxy = new CpProxyOpenhomeOrgTestBasic1(args.Device))
     {
         uint val;
         do
         {
             proxy.SyncGetUint(out val);
         } while (args.IncrementCount());
     }
 }