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

BeginSetPreferences() 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 EndSetPreferences().
public BeginSetPreferences ( String aPreferences, String aLeastCommonChangedNode, uint aExpectedRevision, String aOnConflict, CallbackAsyncComplete aCallback ) : void
aPreferences String
aLeastCommonChangedNode String
aExpectedRevision uint
aOnConflict 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 BeginSetPreferences(String aPreferences, String aLeastCommonChangedNode, uint aExpectedRevision, String aOnConflict, CallbackAsyncComplete aCallback)
        {
            Invocation invocation = iService.Invocation(iActionSetPreferences, aCallback);
            int inIndex = 0;
            invocation.AddInput(new ArgumentString((ParameterString)iActionSetPreferences.InputParameter(inIndex++), aPreferences));
            invocation.AddInput(new ArgumentString((ParameterString)iActionSetPreferences.InputParameter(inIndex++), aLeastCommonChangedNode));
            invocation.AddInput(new ArgumentUint((ParameterUint)iActionSetPreferences.InputParameter(inIndex++), aExpectedRevision));
            invocation.AddInput(new ArgumentString((ParameterString)iActionSetPreferences.InputParameter(inIndex++), aOnConflict));
            iService.InvokeAction(invocation);
        }