mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 10:58:30 -05:00
Bugs fixes so XEvent profiler isn't broken (#577)
* Fix a few issues with profiler method handlers * Filter out profiler polling events * Add a unit test for profiler events * Add method comment headers
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Profiler.Contracts
|
||||
{
|
||||
public class ProfilerEventsAvailableParams
|
||||
{
|
||||
public string SessionId { get; set; }
|
||||
public string OwnerUri { get; set; }
|
||||
|
||||
public List<ProfilerEvent> Events { get; set; }
|
||||
}
|
||||
@@ -23,5 +23,3 @@ namespace Microsoft.SqlTools.ServiceLayer.Profiler.Contracts
|
||||
EventType<ProfilerEventsAvailableParams>.Create("profiler/eventsavailable");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Profiler.Contracts
|
||||
/// </summary>
|
||||
public class StopProfilingParams
|
||||
{
|
||||
public string SessionId { get; set; }
|
||||
public string OwnerUri { get; set; }
|
||||
}
|
||||
|
||||
public class StopProfilingResult
|
||||
|
||||
Reference in New Issue
Block a user