XamlToCSharpGenerator Home
  1. Home
  2. Docs
  3. API
    1. GitHub
    Menu
    Loading menu…

    On this page

    1. Home
    2. API
    3. XamlToCSharpGenerator.RemoteProtocol.Mcp
    4. McpToolException

    McpToolException Class

    Definition

    Namespace XamlToCSharpGenerator.RemoteProtocol.Mcp
    Assembly XamlToCSharpGenerator.RemoteProtocol.dll
    Inherits Object → Exception
    Implements ISerializable
    View source
    Show inherited members (18)
    • System.Exception.GetBaseException()
    • System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    • System.Exception.GetType()
    • System.Exception.ToString()
    • System.Exception.Data
    • System.Exception.HelpLink
    • System.Exception.HResult
    • System.Exception.InnerException
    • System.Exception.Message
    • System.Exception.Source
    • System.Exception.StackTrace
    • System.Exception.TargetSite
    • System.Exception.SerializeObjectState
    • System.Object.Equals(System.Object)
    • System.Object.Equals(System.Object, System.Object)
    • System.Object.GetHashCode()
    • System.Object.MemberwiseClone()
    • System.Object.ReferenceEquals(System.Object, System.Object)

    Represents a structured MCP tool failure that should be returned as a tool result.

    public sealed class McpToolException : Exception, ISerializable
    
    Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

    Constructors (1)

    McpToolException(Object?)Initializes a new instance of the McpToolException class.

    Properties (1)

    ResultGets the structured tool error result.

    Copyright © 2026, Wieslaw Soltes aka wieslawsoltes - Content licensed under the MIT license | Site generated by lunet hosted on GitHub Pages