OpenHome.Net.ControlPoint.Proxies.CpProxyRaumfeldComConfigService1.BeginGetPreferences C# (CSharp) Method

BeginGetPreferences() 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 EndGetPreferences().
public BeginGetPreferences ( String aPublicKey, CallbackAsyncComplete aCallback ) : void
aPublicKey String
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
return void
        public void BeginGetPreferences(String aPublicKey, CallbackAsyncComplete aCallback)
        {
            Invocation invocation = iService.Invocation(iActionGetPreferences, aCallback);
            int inIndex = 0;
            invocation.AddInput(new ArgumentString((ParameterString)iActionGetPreferences.InputParameter(inIndex++), aPublicKey));
            int outIndex = 0;
            invocation.AddOutput(new ArgumentString((ParameterString)iActionGetPreferences.OutputParameter(outIndex++)));
            invocation.AddOutput(new ArgumentUint((ParameterUint)iActionGetPreferences.OutputParameter(outIndex++)));
            iService.InvokeAction(invocation);
        }