Table of Contents

Class McpTransportDisconnectedEventArgs

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

Event arguments for transport disconnection events.

public sealed class McpTransportDisconnectedEventArgs : EventArgs
Inheritance
McpTransportDisconnectedEventArgs
Inherited Members

Constructors

McpTransportDisconnectedEventArgs(string, Exception, bool)

Initializes a new instance of the McpTransportDisconnectedEventArgs class.

Properties

Exception

Gets the exception that caused the disconnection, if any.

IsUnexpected

Gets whether the disconnection was unexpected (not initiated by the client).

Reason

Gets the reason for the disconnection.