NamedPipeConnectionContext
Namespace: TagBites.Pipes
Assembly: TagBites.Pipes.dll
Product: TagBites.Pipes v. 1.2.0
Represents one client connection on the server side, and carries state that lives as long as that connection.
public class NamedPipeConnectionContext : System.IDisposableInheritance: object → NamedPipeConnectionContext
Remarks
Section titled “Remarks”The server owns the lifetime of this object. Consumers do not dispose it.
Constructors
Section titled “Constructors”NamedPipeConnectionContext()
Section titled “NamedPipeConnectionContext()”public NamedPipeConnectionContext()Properties
Section titled “Properties”Gets the store for values that live as long as the connection.
public NamedPipeConnectionBag Bag { get; }Property Value
Section titled “Property Value”Gets the number identifying the connection within the process.
public int Id { get; }Property Value
Section titled “Property Value”IsDisposed
Section titled “IsDisposed”Gets a value indicating whether the connection has ended.
public bool IsDisposed { get; }Property Value
Section titled “Property Value”Events
Section titled “Events”Disposing
Section titled “Disposing”Occurs when the connection ends, before the context is marked as disposed.
public EventHandler Disposing