OpenHome.Net.ControlPoint.Proxies.CpProxyAvOpenhomeOrgProduct1.BeginSetSourceIndex C# (CSharp) Method

BeginSetSourceIndex() 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 EndSetSourceIndex().
public BeginSetSourceIndex ( uint aValue, CallbackAsyncComplete aCallback ) : void
aValue uint
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
return void
        public void BeginSetSourceIndex(uint aValue, CallbackAsyncComplete aCallback)
        {
            Invocation invocation = iService.Invocation(iActionSetSourceIndex, aCallback);
            int inIndex = 0;
            invocation.AddInput(new ArgumentUint((ParameterUint)iActionSetSourceIndex.InputParameter(inIndex++), aValue));
            iService.InvokeAction(invocation);
        }
CpProxyAvOpenhomeOrgProduct1