OpenHome.Net.ControlPoint.Proxies.CpProxyAvOpenhomeOrgSender1.EndAudio C# (CSharp) Méthode

EndAudio() public méthode

Retrieve the output arguments from an asynchronously invoked action.
This may only be called from the callback set in the above Begin function.
public EndAudio ( IntPtr aAsyncHandle, bool &aValue ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aValue bool
Résultat void
        public void EndAudio(IntPtr aAsyncHandle, out bool aValue)
        {
            uint code;
            string desc;
            if (Invocation.Error(aAsyncHandle, out code, out desc))
            {
                throw new ProxyError(code, desc);
            }
            uint index = 0;
            aValue = Invocation.OutputBool(aAsyncHandle, index++);
        }

Usage Example

Exemple #1
0
 protected override void CompleteRequest(IntPtr aAsyncHandle)
 {
     iService.EndAudio(aAsyncHandle, out iValue);
 }