Add docs template

This commit is contained in:
Karl Burtram
2016-12-15 17:06:28 -08:00
275 changed files with 10751 additions and 19075 deletions

View File

@@ -10,43 +10,45 @@
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class MessageDispatcher
">
<meta name="generator" content="docfx 1.0.0.0">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
<link rel="stylesheet" href="../styles/docfx.css">
<link rel="stylesheet" href="../styles/main.css">
<link rel="stylesheet" href="../styles/docfx.css">
<link rel="stylesheet" href="../styles/style.css">
<meta property="docfx:navrel" content="../toc.html">
<meta property="docfx:tocrel" content="toc.html">
</head>
<body data-spy="scroll" data-target="#affix">
<!--
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-63735192-1', 'auto');
ga('send', 'pageview');
</script>
-->
</head> <body data-spy="scroll" data-target="#affix">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../logo.svg" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<nav class="navbar navbar-inverse">
<div class="container">
<a href="../"><img height="50px" src="../images/sqlserver.png" style="float:right;"></a>
<div class="navbar-header ">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../"><span class="dotnet">SQL Tools Service</span></a>
</div>
<div id="navbar" class="collapse navbar-collapse">
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
@@ -68,7 +70,8 @@
<div class="col-md-10">
<article class="content wrap" id="_content">
<a href="https://github.com/Microsoft/sqltoolsservice/new/master/docs/apispec/new?filename=Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher.md&amp;value=---%0Auid%3A%20Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="pull-right mobile-hide"><span class="fa fa-github"></span>Improve this Doc</a>
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Hosting/Protocol/MessageDispatcher.cs/#L18" class="pull-right mobile-hide">View Source</a>
<h1 id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher">Class MessageDispatcher
</h1>
<div class="markdown level0 summary"></div>
@@ -78,30 +81,6 @@
<div class="level0"><span class="xref">System.Object</span></div>
<div class="level1"><span class="xref">MessageDispatcher</span></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<span class="xref">System.Object.Equals(System.Object)</span>
</div>
<div>
<span class="xref">System.Object.Equals(System.Object, System.Object)</span>
</div>
<div>
<span class="xref">System.Object.GetHashCode()</span>
</div>
<div>
<span class="xref">System.Object.GetType()</span>
</div>
<div>
<span class="xref">System.Object.MemberwiseClone()</span>
</div>
<div>
<span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
</div>
<div>
<span class="xref">System.Object.ToString()</span>
</div>
</div>
<h6><strong>Namespace</strong>:Microsoft.SqlTools.ServiceLayer.Hosting.Protocol</h6>
<h6><strong>Assembly</strong>:Microsoft.SqlTools.ServiceLayer.dll</h6>
<h5 id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_syntax">Syntax</h5>
@@ -117,7 +96,6 @@
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Hosting/Protocol/MessageDispatcher.cs/#L63">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher__ctor_" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.#ctor*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher__ctor_Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_Channel_ChannelBase_" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.#ctor(Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.Channel.ChannelBase)">MessageDispatcher(ChannelBase)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
@@ -137,7 +115,7 @@
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.Channel.ChannelBase.html">ChannelBase</a></td>
<td><span class="parametername">protocolChannel</span></td>
<td><em>protocolChannel</em></td>
<td></td>
</tr>
</tbody>
@@ -151,7 +129,6 @@
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Hosting/Protocol/MessageDispatcher.cs/#L43">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_InMessageLoopThread_" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.InMessageLoopThread*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_InMessageLoopThread" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.InMessageLoopThread">InMessageLoopThread</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
@@ -159,7 +136,7 @@
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool InMessageLoopThread { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<h5 class="propertyValue"></h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
@@ -181,7 +158,6 @@
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Hosting/Protocol/MessageDispatcher.cs/#L54">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_MessageReader_" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.MessageReader*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_MessageReader" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.MessageReader">MessageReader</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
@@ -189,7 +165,7 @@
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected MessageReader MessageReader { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<h5 class="propertyValue"></h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
@@ -211,7 +187,6 @@
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Hosting/Protocol/MessageDispatcher.cs/#L56">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_MessageWriter_" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.MessageWriter*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_MessageWriter" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.MessageWriter">MessageWriter</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
@@ -219,7 +194,7 @@
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected MessageWriter MessageWriter { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<h5 class="propertyValue"></h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
@@ -241,7 +216,6 @@
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Hosting/Protocol/MessageDispatcher.cs/#L41">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_SynchronizationContext_" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.SynchronizationContext*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_SynchronizationContext" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.SynchronizationContext">SynchronizationContext</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
@@ -249,7 +223,7 @@
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public SynchronizationContext SynchronizationContext { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<h5 class="propertyValue"></h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
@@ -273,7 +247,6 @@
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Hosting/Protocol/MessageDispatcher.cs/#L257">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_DispatchMessage_" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.DispatchMessage*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_DispatchMessage_Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_Contracts_Message_Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageWriter_" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.DispatchMessage(Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.Contracts.Message,Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageWriter)">DispatchMessage(Message, MessageWriter)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
@@ -293,12 +266,12 @@
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.Contracts.Message.html">Message</a></td>
<td><span class="parametername">messageToDispatch</span></td>
<td><em>messageToDispatch</em></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageWriter.html">MessageWriter</a></td>
<td><span class="parametername">messageWriter</span></td>
<td><em>messageWriter</em></td>
<td></td>
</tr>
</tbody>
@@ -325,7 +298,6 @@
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Hosting/Protocol/MessageDispatcher.cs/#L191">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_OnUnhandledException_" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.OnUnhandledException*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_OnUnhandledException_System_Exception_" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.OnUnhandledException(System.Exception)">OnUnhandledException(Exception)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
@@ -345,7 +317,7 @@
<tbody>
<tr>
<td><span class="xref">System.Exception</span></td>
<td><span class="parametername">unhandledException</span></td>
<td><em>unhandledException</em></td>
<td></td>
</tr>
</tbody>
@@ -357,7 +329,6 @@
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Hosting/Protocol/MessageDispatcher.cs/#L136">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_SetEventHandler_" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.SetEventHandler*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_SetEventHandler__1_Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_Contracts_EventType___0__System_Func___0_Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_EventContext_System_Threading_Tasks_Task__" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.SetEventHandler``1(Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.Contracts.EventType{``0},System.Func{``0,Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.EventContext,System.Threading.Tasks.Task})">SetEventHandler&lt;TParams&gt;(EventType&lt;TParams&gt;, Func&lt;TParams, EventContext, Task&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
@@ -377,27 +348,12 @@
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.Contracts.EventType-1.html">EventType</a>&lt;TParams&gt;</td>
<td><span class="parametername">eventType</span></td>
<td><em>eventType</em></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Func</span>&lt;TParams, <a class="xref" href="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.EventContext.html">EventContext</a>, <span class="xref">System.Threading.Tasks.Task</span>&gt;</td>
<td><span class="parametername">eventHandler</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TParams</span></td>
<td><em>eventHandler</em></td>
<td></td>
</tr>
</tbody>
@@ -409,7 +365,6 @@
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Hosting/Protocol/MessageDispatcher.cs/#L146">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_SetEventHandler_" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.SetEventHandler*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_SetEventHandler__1_Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_Contracts_EventType___0__System_Func___0_Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_EventContext_System_Threading_Tasks_Task__System_Boolean_" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.SetEventHandler``1(Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.Contracts.EventType{``0},System.Func{``0,Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.EventContext,System.Threading.Tasks.Task},System.Boolean)">SetEventHandler&lt;TParams&gt;(EventType&lt;TParams&gt;, Func&lt;TParams, EventContext, Task&gt;, Boolean)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
@@ -429,32 +384,17 @@
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.Contracts.EventType-1.html">EventType</a>&lt;TParams&gt;</td>
<td><span class="parametername">eventType</span></td>
<td><em>eventType</em></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Func</span>&lt;TParams, <a class="xref" href="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.EventContext.html">EventContext</a>, <span class="xref">System.Threading.Tasks.Task</span>&gt;</td>
<td><span class="parametername">eventHandler</span></td>
<td><em>eventHandler</em></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">overrideExisting</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TParams</span></td>
<td><em>overrideExisting</em></td>
<td></td>
</tr>
</tbody>
@@ -466,7 +406,6 @@
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Hosting/Protocol/MessageDispatcher.cs/#L95">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_SetRequestHandler_" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.SetRequestHandler*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_SetRequestHandler__2_Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_Contracts_RequestType___0___1__System_Func___0_Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_RequestContext___1__System_Threading_Tasks_Task__" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.SetRequestHandler``2(Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.Contracts.RequestType{``0,``1},System.Func{``0,Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.RequestContext{``1},System.Threading.Tasks.Task})">SetRequestHandler&lt;TParams, TResult&gt;(RequestType&lt;TParams, TResult&gt;, Func&lt;TParams, RequestContext&lt;TResult&gt;, Task&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
@@ -486,31 +425,12 @@
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.Contracts.RequestType-2.html">RequestType</a>&lt;TParams, TResult&gt;</td>
<td><span class="parametername">requestType</span></td>
<td><em>requestType</em></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Func</span>&lt;TParams, <a class="xref" href="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.RequestContext-1.html">RequestContext</a>&lt;TResult&gt;, <span class="xref">System.Threading.Tasks.Task</span>&gt;</td>
<td><span class="parametername">requestHandler</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TParams</span></td>
<td></td>
</tr>
<tr>
<td><span class="parametername">TResult</span></td>
<td><em>requestHandler</em></td>
<td></td>
</tr>
</tbody>
@@ -522,7 +442,6 @@
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Hosting/Protocol/MessageDispatcher.cs/#L105">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_SetRequestHandler_" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.SetRequestHandler*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_SetRequestHandler__2_Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_Contracts_RequestType___0___1__System_Func___0_Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_RequestContext___1__System_Threading_Tasks_Task__System_Boolean_" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.SetRequestHandler``2(Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.Contracts.RequestType{``0,``1},System.Func{``0,Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.RequestContext{``1},System.Threading.Tasks.Task},System.Boolean)">SetRequestHandler&lt;TParams, TResult&gt;(RequestType&lt;TParams, TResult&gt;, Func&lt;TParams, RequestContext&lt;TResult&gt;, Task&gt;, Boolean)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
@@ -542,36 +461,17 @@
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.Contracts.RequestType-2.html">RequestType</a>&lt;TParams, TResult&gt;</td>
<td><span class="parametername">requestType</span></td>
<td><em>requestType</em></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Func</span>&lt;TParams, <a class="xref" href="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.RequestContext-1.html">RequestContext</a>&lt;TResult&gt;, <span class="xref">System.Threading.Tasks.Task</span>&gt;</td>
<td><span class="parametername">requestHandler</span></td>
<td><em>requestHandler</em></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">overrideExisting</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TParams</span></td>
<td></td>
</tr>
<tr>
<td><span class="parametername">TResult</span></td>
<td><em>overrideExisting</em></td>
<td></td>
</tr>
</tbody>
@@ -583,7 +483,6 @@
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Hosting/Protocol/MessageDispatcher.cs/#L180">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_SetResponseHandler_" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.SetResponseHandler*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_SetResponseHandler_System_Action_Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_Contracts_Message__" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.SetResponseHandler(System.Action{Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.Contracts.Message})">SetResponseHandler(Action&lt;Message&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
@@ -603,7 +502,7 @@
<tbody>
<tr>
<td><span class="xref">System.Action</span>&lt;<a class="xref" href="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.Contracts.Message.html">Message</a>&gt;</td>
<td><span class="parametername">responseHandler</span></td>
<td><em>responseHandler</em></td>
<td></td>
</tr>
</tbody>
@@ -615,7 +514,6 @@
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Hosting/Protocol/MessageDispatcher.cs/#L74">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_Start_" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.Start*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_Start" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.Start">Start()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
@@ -630,7 +528,6 @@
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Hosting/Protocol/MessageDispatcher.cs/#L85">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_Stop_" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.Stop*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_MessageDispatcher_Stop" data-uid="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.MessageDispatcher.Stop">Stop()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
@@ -654,21 +551,6 @@
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;Exception&gt; UnhandledException</code></pre>
</div>
<h5 class="eventType">Event Type</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.EventHandler</span>&lt;<span class="xref">System.Exception</span>&gt;</td>
<td></td>
</tr>
</tbody>
</table>
</article>
</div>
@@ -693,16 +575,9 @@
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
<span>Copyright © 2015-2016 Microsoft<br>Generated by <strong>DocFX</strong></span>
<div class="inner-footer">
<p>© Microsoft &nbsp;//&nbsp; Generated with <a href="https://github.com/dotnet/docfx">DocFX</a></p>
</div>
</div>
</footer>
</div>