OpenHome.Net.ControlPoint.Proxies.CpProxyOpenhomeOrgTestBasic1.BeginSetMultiple C# (CSharp) Method

BeginSetMultiple() public method

Invoke the action asynchronously
Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndSetMultiple().
public BeginSetMultiple ( uint aValueUint, int aValueInt, bool aValueBool, CallbackAsyncComplete aCallback ) : void
aValueUint uint
aValueInt int
aValueBool bool
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
return void
        public void BeginSetMultiple(uint aValueUint, int aValueInt, bool aValueBool, CallbackAsyncComplete aCallback)
        {
            Invocation invocation = iService.Invocation(iActionSetMultiple, aCallback);
            int inIndex = 0;
            invocation.AddInput(new ArgumentUint((ParameterUint)iActionSetMultiple.InputParameter(inIndex++), aValueUint));
            invocation.AddInput(new ArgumentInt((ParameterInt)iActionSetMultiple.InputParameter(inIndex++), aValueInt));
            invocation.AddInput(new ArgumentBool((ParameterBool)iActionSetMultiple.InputParameter(inIndex++), aValueBool));
            iService.InvokeAction(invocation);
        }