ServicingJobData Class


Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

public class ServicingJobData

The ServicingJobData type exposes the following members.

Public propertyJobTitleThis is a user friendly name for this job. It will be used as the name of the job when jobs are queued.
Public propertyOperationClassThe OperationClass defines the general class of this servicing operation.
Public propertyServicingHostIdA servicing request can specify the InstanceId of the host it will be servicing. This will allow the servicing engine to perform tasks regarding the servicing host.
Public propertyServicingItems
Public propertyServicingItemsValueNote: These should not be changed, they are the serialized form of the ServicingItems Dictionary.
Public propertyServicingLocksThe LockMode is used to define locking for specific job types.LockMode effects:NoLock - These locks will be ignored.Shared - This will cause the job to take a shared lock on this ServicingLock. Any other job taking a shared lock will be able to continue, but an exclusive lock will be blocked until you finish and you will not be able to start until the exclusive job finishes.Exclusive - This will cause the job to take an exclusive lock on this ServicingLock. This means that no other operations will be able to start after this lock is acquired. It will also wait for any running jobs that have a lock on one of these.
Public propertyServicingOperationsThis is the set of ServicingOperations that must be run for this servicing job. They are executed in the order listed in the array. The operations are executed in a serialized manner, where the second operation will not start until the first operation finishes.
Public propertyServicingOptionsServicingOptions are used to control the validation of the servicing job when the job is started. See the ServicingFlags enumeration for the available options.
Public propertyServicingTokens
Public propertyServicingTokensValueNote: These should not be changed; they are the serialized form of the ServicingTokens Dictionary.

Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.