Table of Contents

Constructor McpTransportDisconnectedEventArgs

Namespace
LMKit.Mcp.Transport
Assembly
LM-Kit.NET.dll

McpTransportDisconnectedEventArgs(string, Exception, bool)

Initializes a new instance of the McpTransportDisconnectedEventArgs class.

public McpTransportDisconnectedEventArgs(string reason, Exception exception = null, bool isUnexpected = true)

Parameters

reason string

A human-readable description of the disconnection reason.

exception Exception

The exception that caused disconnection, or null.

isUnexpected bool

Whether the disconnection was unexpected.