OpenHome.Net.ControlPoint.Proxies.CpProxyUpnpOrgContentDirectory1.BeginRescanSource C# (CSharp) Метод

BeginRescanSource() публичный Метод

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 EndRescanSource().
public BeginRescanSource ( String aSourceID, String aRescanMode, CallbackAsyncComplete aCallback ) : void
aSourceID String
aRescanMode String
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void
        public void BeginRescanSource(String aSourceID, String aRescanMode, CallbackAsyncComplete aCallback)
        {
            Invocation invocation = iService.Invocation(iActionRescanSource, aCallback);
            int inIndex = 0;
            invocation.AddInput(new ArgumentString((ParameterString)iActionRescanSource.InputParameter(inIndex++), aSourceID));
            invocation.AddInput(new ArgumentString((ParameterString)iActionRescanSource.InputParameter(inIndex++), aRescanMode));
            iService.InvokeAction(invocation);
        }