alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class WebMcpException

    Represents a structured failure raised while executing a Kanban WebMCP tool.

    Inheritance
    object
    Exception
    WebMcpException
    Implements
    ISerializable
    Inherited Members
    Exception.Data
    Exception.GetBaseException()
    Exception.GetType()
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.ReferenceEquals(object, object)
    Namespace: Syncfusion.Blazor.Kanban
    Assembly: Syncfusion.Blazor.Kanban.dll
    Syntax
    public sealed class WebMcpException : Exception, ISerializable
    Remarks

    The message never contains a stack trace or internal exception detail, so it is safe to forward to the agent verbatim.

    Constructors

    WebMcpException()

    Initializes a new instance of the WebMcpException class with a generic execution failure.

    Declaration
    public WebMcpException()

    WebMcpException(WebMcpErrorCode, string?, string, Exception?)

    Initializes a new instance of the WebMcpException class.

    Declaration
    public WebMcpException(WebMcpErrorCode errorCode, string? toolName, string message, Exception? innerException = null)
    Parameters
    Type Name Description
    WebMcpErrorCode errorCode

    The error code that classifies this failure.

    string toolName

    The tool name the failure relates to.

    string message

    The agent-facing message.

    Exception innerException

    The underlying exception, if any.

    WebMcpException(string?)

    Initializes a new instance of the WebMcpException class with a generic execution failure.

    Declaration
    public WebMcpException(string? message)
    Parameters
    Type Name Description
    string message

    The failure message.

    WebMcpException(string?, Exception?)

    Initializes a new instance of the WebMcpException class with a generic execution failure.

    Declaration
    public WebMcpException(string? message, Exception? innerException)
    Parameters
    Type Name Description
    string message

    The failure message.

    Exception innerException

    The underlying exception, if any.

    Properties

    ErrorCode

    Gets the error code that classifies this failure.

    Declaration
    public WebMcpErrorCode ErrorCode { get; }
    Property Value
    Type
    WebMcpErrorCode

    ToolName

    Gets the tool name the failure relates to.

    Declaration
    public string? ToolName { get; }
    Property Value
    Type
    string

    Implements

    ISerializable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved