SQL Tools Service
Show / Hide Table of Contents
Improve this Doc View Source

Class StdioClientChannel

Provides a client implementation for the standard I/O channel. Launches the server process and then attaches to its console streams.

Inheritance
System.Object
ChannelBase
StdioClientChannel
Namespace:Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.Channel
Assembly:Microsoft.SqlTools.ServiceLayer.dll
Syntax
public class StdioClientChannel : ChannelBase

Constructors

| Improve this Doc View Source

StdioClientChannel(String, String[])

Initializes an instance of the StdioClient.

Declaration
public StdioClientChannel(string serverProcessPath, params string[] serverProcessArguments)
Parameters
Type Name Description
System.String serverProcessPath

The full path to the server process executable.

System.String[] serverProcessArguments

Optional arguments to pass to the service process executable.

Properties

| Improve this Doc View Source

ProcessId

Gets the process ID of the server process.

Declaration
public int ProcessId { get; }
Type Description
System.Int32

Methods

| Improve this Doc View Source

Initialize(IMessageSerializer)

Declaration
protected override void Initialize(IMessageSerializer messageSerializer)
Parameters
Type Name Description
IMessageSerializer messageSerializer
| Improve this Doc View Source

Shutdown()

Declaration
protected override void Shutdown()
| Improve this Doc View Source

WaitForConnection()

Declaration
public override Task WaitForConnection()
Returns
Type Description
System.Threading.Tasks.Task
  • Improve this Doc
  • View Source

© Microsoft  //  Generated with DocFX