alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class WebMcpException

    Exception type for WebMCP operations.

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

    Constructors

    WebMcpException()

    Initializes a new instance of the WebMcpException class.

    Declaration
    public WebMcpException()

    WebMcpException(WebMcpErrorCode, string, string, Exception?)

    Initializes a new instance of the WebMcpException class.

    Declaration
    public WebMcpException(WebMcpErrorCode code, string command, string userMessage, Exception? inner = null)
    Parameters
    Type Name Description
    WebMcpErrorCode code

    The error code.

    string command

    The tool command that raised the error.

    string userMessage

    The message intended to be shown to the agent.

    Exception inner

    The optional inner exception.

    WebMcpException(string)

    Initializes a new instance of the WebMcpException class.

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

    The error message.

    WebMcpException(string, Exception)

    Initializes a new instance of the WebMcpException class.

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

    The error message.

    Exception innerException

    The inner exception.

    Properties

    Code

    Gets the error code.

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

    Command

    Gets the tool command that raised the error.

    Declaration
    public string Command { get; }
    Property Value
    Type
    string

    UserMessage

    Gets the message intended to be shown to the agent.

    Declaration
    public string UserMessage { get; }
    Property Value
    Type
    string

    Implements

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