public static void ResetError() { Site.RuntimeError = false; Site.RuntimeException = null; Site.InternalError = false; Site.InternalVSException = null; }
private static void CreateInternalVSException(string message) { string source = "VSMacros.ExecutionEngine"; string stackTrace = string.Empty; string targetSite = string.Empty; Site.InternalVSException = new InternalVSException(message, source, stackTrace, targetSite); Site.InternalError = true; }