Class ClientCompletionDetails
- Namespace
- ModelContextProtocol.Client
- Assembly
- ModelContextProtocol.Core.dll
Provides details about why an MCP client session completed.
public class ClientCompletionDetails
- Inheritance
-
ClientCompletionDetails
- Derived
- Inherited Members
Remarks
Transport implementations may return derived types with additional strongly-typed information, such as StdioClientCompletionDetails.
Properties
Exception
Gets the exception that caused the session to close, if any.
public Exception? Exception { get; set; }
Property Value
Remarks
This is null for graceful closure.