Should await result of requestcontext.sendresult in case it errors (#520)

- Refactored to use pattern where we wait on the binding queue action to complete, then send the result / error outside of that.
This commit is contained in:
Kevin Cunnane
2017-10-25 12:06:00 -07:00
committed by Karl Burtram
parent 399b03cbd1
commit caf196ea31
6 changed files with 131 additions and 44 deletions

View File

@@ -2405,6 +2405,14 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
public static string ScriptingUnexpectedError
{
get
{
return Keys.GetString(Keys.ScriptingUnexpectedError);
}
}
public static string unavailable
{
get
@@ -4600,6 +4608,9 @@ namespace Microsoft.SqlTools.ServiceLayer
public const string ScriptingListObjectsCompleteParams_ConnectionString_Property_Invalid = "ScriptingListObjectsCompleteParams_ConnectionString_Property_Invalid";
public const string ScriptingUnexpectedError = "ScriptingUnexpectedError";
public const string unavailable = "unavailable";