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

BeginSetString() 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 EndSetString().
public BeginSetString ( String aValueStr, CallbackAsyncComplete aCallback ) : void
aValueStr 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 BeginSetString(String aValueStr, CallbackAsyncComplete aCallback)
        {
            Invocation invocation = iService.Invocation(iActionSetString, aCallback);
            int inIndex = 0;
            invocation.AddInput(new ArgumentString((ParameterString)iActionSetString.InputParameter(inIndex++), aValueStr));
            iService.InvokeAction(invocation);
        }