Class StdioClientChannel
Provides a client implementation for the standard I/O channel. Launches the server process and then attaches to its console streams.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.Channel
Assembly:Microsoft.SqlTools.ServiceLayer.dll
Syntax
public class StdioClientChannel : ChannelBase
Constructors
| Improve this Doc View SourceStdioClientChannel(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 SourceProcessId
Gets the process ID of the server process.
Declaration
public int ProcessId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
| Improve this Doc View SourceInitialize(IMessageSerializer)
Declaration
protected override void Initialize(IMessageSerializer messageSerializer)
Parameters
| Type | Name | Description |
|---|---|---|
| IMessageSerializer | messageSerializer |
Overrides
| Improve this Doc View SourceShutdown()
Declaration
protected override void Shutdown()
Overrides
| Improve this Doc View SourceWaitForConnection()
Declaration
public override Task WaitForConnection()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |