Skip to content
Auto
Products

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.IDisposable

Inheritance: object → NamedPipeConnectionContext

The server owns the lifetime of this object. Consumers do not dispose it.

public NamedPipeConnectionContext()

Gets the store for values that live as long as the connection.

public NamedPipeConnectionBag Bag { get; }

NamedPipeConnectionBag

Gets the number identifying the connection within the process.

public int Id { get; }

int

Gets a value indicating whether the connection has ended.

public bool IsDisposed { get; }

bool

Occurs when the connection ends, before the context is marked as disposed.

public EventHandler Disposing

EventHandler