OpenHome.Net.ControlPoint.Invocation.Error C# (CSharp) Метод

Error() публичный статический Метод

Check whether the invocation failed
Only intended for use in the invocation complete callback
public static Error ( IntPtr aHandle, uint &aErrorCode, string &aErrorDesc ) : bool
aHandle System.IntPtr
aErrorCode uint
aErrorDesc string
Результат bool
        public static bool Error(IntPtr aHandle, out uint aErrorCode, out string aErrorDesc)
        {
            uint code;
            IntPtr desc;
            uint err = CpInvocationError(aHandle, out code, out desc);
            aErrorCode = code;
            aErrorDesc = InteropUtils.PtrToStringUtf8(desc);
            return (err != 0);
        }