Table of Contents

Class IllegalObjectReassignmentException

Namespace
ArcanaDevelopment.adTempus.Client
Assembly
ArcanaDevelopment.adTempus.Client.dll

The exception that is thrown if an ADTObject that already belongs to one object is assigned to another.

public class IllegalObjectReassignmentException : Exception
Inheritance
object
Exception
IllegalObjectReassignmentException

Remarks

This exception is thrown if you try to reassign an object to a new owner. For example, if you take a JobStep that belongs to one Job and add it to another job, the Add operation will throw an IllegalObjectReassignmentException.

This restriction only applies to Dependent objects (IsDependent is False) such as JobSteps, Tasks, etc., which belong to a single parent. Independent objects such as Jobs, JobGroups, Shared Scripts, etc., can be referenced by more than one object.

Properties

CurrentOwner

public ADTObject CurrentOwner { get; }

Property Value

ADTObject

NewOwner

public ADTObject NewOwner { get; }

Property Value

ADTObject

SourceObject

The object that resulted in the exception.

public ADTObject SourceObject { get; }

Property Value

ADTObject