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

BeginGetBinary() 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 EndGetBinary().
public BeginGetBinary ( CallbackAsyncComplete aCallback ) : void
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
return void
        public void BeginGetBinary(CallbackAsyncComplete aCallback)
        {
            Invocation invocation = iService.Invocation(iActionGetBinary, aCallback);
            int outIndex = 0;
            invocation.AddOutput(new ArgumentBinary((ParameterBinary)iActionGetBinary.OutputParameter(outIndex++)));
            iService.InvokeAction(invocation);
        }