public void BeginSetBool(bool aValueBool, CallbackAsyncComplete aCallback) { Invocation invocation = iService.Invocation(iActionSetBool, aCallback); int inIndex = 0; invocation.AddInput(new ArgumentBool((ParameterBool)iActionSetBool.InputParameter(inIndex++), aValueBool)); iService.InvokeAction(invocation); }