NamedPipeServer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A server for use with the Bot Framework Protocol V3 with Streaming Extensions and an underlying Named Pipe transport.
public class NamedPipeServer : IDisposable, Microsoft.Bot.Streaming.Transport.IStreamingTransportServer
type NamedPipeServer = class
interface IStreamingTransportServer
interface IDisposable
Public Class NamedPipeServer
Implements IDisposable, IStreamingTransportServer
- Inheritance
-
NamedPipeServer
- Implements
Constructors
NamedPipeServer(String, RequestHandler, Boolean) |
Initializes a new instance of the NamedPipeServer class. Throws ArgumentNullException on null arguments. |
Properties
IsConnected |
Gets a value indicating whether or not this server is currently connected. |
Methods
Disconnect() |
Disconnects the NamedPipeServer. |
Dispose() |
Disposes the object and releases any related objects owned by the class. |
Dispose(Boolean) |
Disposes objected used by the class. |
SendAsync(StreamingRequest, CancellationToken) |
Task used to send data over this server connection. Throws InvalidOperationException if called when server is not connected. Throws ArgumentNullException if request is null. |
StartAsync() |
Used to establish the connection used by this server and begin listening for incoming messages. |
Events
Disconnected |
An event to be fired when the underlying transport is disconnected. Any application communicating with this server should subscribe to this event. |