• Guides
  • API Reference
  • Changelog
Show / Hide Table of Contents
  • DCR
    • EventKind
    • Expression
    • Flat
    • Graph
    • IEvent
    • Marking
    • NotEnabled
    • Path
    • TimeManager
    • Tools
    • UserNotAllowed
    • Value
  • DCR.Time
    • Duration
    • Timezones

Class NotEnabled

Exception thrown when the execution of a non-executable event is requested. The exception carries a representation of the full set of reasons that the event could not be executed.

Inheritance
System.Object
NotEnabled
Implements
System.Collections.IStructuralEquatable
Namespace: DCR
Assembly: Engine.dll
Syntax
public class NotEnabled : Exception, IStructuralEquatable

Constructors

NotEnabled()

Declaration
public NotEnabled()

NotEnabled(Path, IEnumerable<Process.Reason>)

Declaration
public NotEnabled(Path data0, IEnumerable<Process.Reason> data1)
Parameters
Type Name Description
Path data0
System.Collections.Generic.IEnumerable<DCR.Core.Process.Reason> data1

NotEnabled(SerializationInfo, StreamingContext)

Declaration
protected NotEnabled(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
System.Runtime.Serialization.StreamingContext context

Properties

Data0

Declaration
public Path Data0 { get; }
Property Value
Type Description
Path

Data1

Declaration
public IEnumerable<Process.Reason> Data1 { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<DCR.Core.Process.Reason>

Methods

Equals(Exception)

Declaration
public bool Equals(Exception obj)
Parameters
Type Name Description
System.Exception obj
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean

Equals(Object, IEqualityComparer)

Declaration
public override bool Equals(object obj, IEqualityComparer comp)
Parameters
Type Name Description
System.Object obj
System.Collections.IEqualityComparer comp
Returns
Type Description
System.Boolean

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

GetHashCode(IEqualityComparer)

Declaration
public override int GetHashCode(IEqualityComparer comp)
Parameters
Type Name Description
System.Collections.IEqualityComparer comp
Returns
Type Description
System.Int32

Implements

System.Collections.IStructuralEquatable
In This Article
Back to top © 2019 DCR Solutions