Class LayerDisabledException
Thrown when attempting to perform an operation on a disabled layer.
Inheritance
System.Object
System.Exception
System.SystemException
System.InvalidOperationException
LayerDisabledException
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 LayerDisabledException : InvalidOperationException, ISerializable, _Exception
Constructors
LayerDisabledException(Layer)
Initializes a new instance of the LayerDisabledException class.
Declaration
public LayerDisabledException(Layer layer)
Parameters
Type | Name | Description |
---|---|---|
Layer | layer | Layer that is disabled. |
Properties
Layer
Gets disabled layer involved in the attempted operation.
Declaration
public Layer Layer { get; }
Property Value
Type | Description |
---|---|
Layer | The layer. |
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