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

            // TODO: dwRadix
            try {
                TaskExtensions.RunSynchronouslyOnUIThread(ct => EvaluationResult.AssignAsync(pszValue, ct));
            } catch (RException ex) {
                errorString = ex.Message;
                return(VSConstants.E_FAIL);
            }

            return(VSConstants.S_OK);
        }