adTempus API
ArcanaDevelopment.adTempus.Client Namespace / IllegalObjectReassignmentException Class
Members


In This Topic
    IllegalObjectReassignmentException Class
    In This Topic
    The exception that is thrown if an ADTObject that already belongs to one object is assigned to another.
    Object Model
    IllegalObjectReassignmentException ClassADTObject Class
    Syntax
    'Declaration
     
    
    Public Class IllegalObjectReassignmentException 
       Inherits System.Exception
    public class IllegalObjectReassignmentException : System.Exception 
    public ref class IllegalObjectReassignmentException : public System.Exception 
    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.

    Inheritance Hierarchy

    System.Object
       System.Exception
          ArcanaDevelopment.adTempus.Client.IllegalObjectReassignmentException

    See Also