Beispiel #1
0
        int IDebugProperty3.SetValueAsStringWithError(string pszValue, uint dwRadix, uint dwTimeout, out string errorString)
        {
            errorString = null;

            // TODO: dwRadix
            var setResult = TaskExtensions.RunSynchronouslyOnUIThread(ct => EvaluationResult.SetValueAsync(pszValue, ct)) as DebugErrorEvaluationResult;

            if (setResult != null)
            {
                errorString = setResult.ErrorText;
                return(VSConstants.E_FAIL);
            }

            return(VSConstants.S_OK);
        }