Constructor SectionDefinitionError
SectionDefinitionError(Reason, SectionDefinitionID)
Initializes a new instance of the SectionDefinitionError class with the specified error reason and section definition ID.
public SectionDefinitionError(SectionDefinitionError.Reason errorReason, SectionDefinitionID id)
Parameters
errorReason
SectionDefinitionError.ReasonThe error reason.
id
SectionDefinitionIDThe section definition ID.
SectionDefinitionError(Reason, Type, List<Type>)
Initializes a new instance of the SectionDefinitionError class with the specified error reason, the unsupported type and the supported types.
public SectionDefinitionError(SectionDefinitionError.Reason errorReason, Type notSupportedType, List<Type> supportedTypes)
Parameters
errorReason
SectionDefinitionError.ReasonThe error reason.
notSupportedType
TypeThe unsupported type.
supportedTypes
List<Type>The supported types.
SectionDefinitionError(Reason, SectionDefinition, List<JobID>)
Initializes a new instance of the SectionDefinitionError class using the specified error reason, section definition and jobs.
public SectionDefinitionError(SectionDefinitionError.Reason errorReason, SectionDefinition sectionDefinition, List<JobID> jobs)
Parameters
errorReason
SectionDefinitionError.ReasonThe error reason.
sectionDefinition
SectionDefinitionThe section definition.
jobs
List<JobID>The jobs.
SectionDefinitionError()
Initializes a new instance of the SectionDefinitionError class.
public SectionDefinitionError()
SectionDefinitionError(Reason)
Initializes a new instance of the SectionDefinitionError class using the specified error reason.
public SectionDefinitionError(SectionDefinitionError.Reason errorReason)
Parameters
errorReason
SectionDefinitionError.ReasonThe error reason.
SectionDefinitionError(Reason, SectionDefinition, SectionDefinition, List<JobID>)
Initializes a new instance of the SectionDefinitionError class with the specified error reason, the original section definition, the section definition and jobs.
public SectionDefinitionError(SectionDefinitionError.Reason errorReason, SectionDefinition originalSectionDefinition, SectionDefinition sectionDefinition, List<JobID> jobs)
Parameters
errorReason
SectionDefinitionError.ReasonThe error reason.
originalSectionDefinition
SectionDefinitionThe original section definition.
sectionDefinition
SectionDefinitionThe section definition.
jobs
List<JobID>The jobs.
SectionDefinitionError(Reason, SectionDefinition, List<JobDomainID>)
Initializes a new instance of the SectionDefinitionError class with the specified error reason, section definition and job domain IDs.
public SectionDefinitionError(SectionDefinitionError.Reason errorReason, SectionDefinition sectionDefinition, List<JobDomainID> jobDomainIDs)
Parameters
errorReason
SectionDefinitionError.ReasonThe error reason.
sectionDefinition
SectionDefinitionThe section definition.
jobDomainIDs
List<JobDomainID>The job domain IDs.
SectionDefinitionError(Reason, IGenericEnumEntry, List<JobID>)
Initializes a new instance of the SectionDefinitionError class with the specified error reason, generic enum entry and job IDs.
public SectionDefinitionError(SectionDefinitionError.Reason errorReason, IGenericEnumEntry genericEnumEntry, List<JobID> jobIds)
Parameters
errorReason
SectionDefinitionError.ReasonThe error reason.
genericEnumEntry
IGenericEnumEntryThe generic enum entry.
jobIds
List<JobID>The job IDs.