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
errorReasonSectionDefinitionError.ReasonThe error reason.
idSectionDefinitionIDThe 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
errorReasonSectionDefinitionError.ReasonThe error reason.
notSupportedTypeTypeThe unsupported type.
supportedTypesList<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
errorReasonSectionDefinitionError.ReasonThe error reason.
sectionDefinitionSectionDefinitionThe section definition.
jobsList<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
errorReasonSectionDefinitionError.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
errorReasonSectionDefinitionError.ReasonThe error reason.
originalSectionDefinitionSectionDefinitionThe original section definition.
sectionDefinitionSectionDefinitionThe section definition.
jobsList<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
errorReasonSectionDefinitionError.ReasonThe error reason.
sectionDefinitionSectionDefinitionThe section definition.
jobDomainIDsList<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
errorReasonSectionDefinitionError.ReasonThe error reason.
genericEnumEntryIGenericEnumEntryThe generic enum entry.
jobIdsList<JobID>The job IDs.