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

BeginSetBinary() 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 EndSetBinary().
public BeginSetBinary ( byte aValueBin, CallbackAsyncComplete aCallback ) : void
aValueBin byte
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
return void
        public void BeginSetBinary(byte[] aValueBin, CallbackAsyncComplete aCallback)
        {
            Invocation invocation = iService.Invocation(iActionSetBinary, aCallback);
            int inIndex = 0;
            invocation.AddInput(new ArgumentBinary((ParameterBinary)iActionSetBinary.InputParameter(inIndex++), aValueBin));
            iService.InvokeAction(invocation);
        }