Class LayerNotFoundException
Thrown when an invalid layer name is referenced.
Inheritance
System.Object
System.Exception
LayerNotFoundException
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 LayerNotFoundException : Exception, ISerializable, _Exception
Constructors
LayerNotFoundException(String)
Initializes a new instance of the LayerNotFoundException class.
Declaration
public LayerNotFoundException(string layerName)
Parameters
Type | Name | Description |
---|---|---|
System.String | layerName | Layer 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