menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LabelNotFoundException - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class LabelNotFoundException

    Thrown when an invalid label name is referenced.

    Inheritance
    System.Object
    System.Exception
    LabelNotFoundException
    Implements
    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    Inherited Members
    System.Exception.Data
    System.Exception.GetBaseException()
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    System.Exception.GetType()
    System.Exception.HelpLink
    System.Exception.HResult
    System.Exception.InnerException
    System.Exception.SerializeObjectState
    System.Exception.Source
    System.Exception.StackTrace
    System.Exception.TargetSite
    System.Exception.ToString()
    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)
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class LabelNotFoundException : Exception, ISerializable, _Exception

    Constructors

    LabelNotFoundException(String)

    Initializes a new instance of the LabelNotFoundException class.

    Declaration
    public LabelNotFoundException(string labelName)
    Parameters
    Type Name Description
    System.String labelName

    Label name that is invalid.

    Properties

    Message

    Returns a message describing the exception.

    Declaration
    public override string Message { get; }
    Property Value
    Type
    System.String
    Overrides
    System.Exception.Message

    Implements

    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved