Click or drag to resize
StagingTaskData Class
Object that implements IStagingTaskData and is used for sending staging task related data from source server to target.
Inheritance Hierarchy

Namespace: CMS.Synchronization
Assembly: CMS.Synchronization (in CMS.Synchronization.dll) Version: 11.0.0
public class StagingTaskData : IStagingTaskData

The StagingTaskData type exposes the following members.

Public methodStagingTaskData
Parameterless constructor, for creating StagingTaskData. No properties are initialized except SystemVersion.
Public methodStagingTaskData(String)
Creates StagingTaskData from serialized StagingTaskData. Should be used on target server. All properties are initialized from serialized StagingTaskData.
Public methodStagingTaskData(StagingTaskInfo)
Creates StagingTaskData from serialized StagingTaskInfo. Should be used before sending data from source to target. All properties are initialized, UserName and UserGuid are equal to CurrentUser.
Public propertySystemVersion
From which Kentico version is this object sent. Version should be the same on source and target. If not set, current version is returned.
Public propertyTaskBinaryData
Binary data of object which will be recreated on target server.
Public propertyTaskData
Data of object, which will be recreated on target server.
Public propertyTaskGroups
Work labels under which object encapsulated within staging task got modified.
Public propertyTaskObjectType
Object type of object for which the given staging task was created.
Public propertyTaskServers
List of tasks servers separated by ';', eg. ';server1;server2;server3;'.
Public propertyTaskType
Type of task, for example update, delete, add to site etc...
Public propertyUserGuid
Guid of user who has synchronized the task.
Public propertyUserName
Name of user who has synchronized the task.
Public methodSerialize
Serializes current StagingTaskData to string, for sending via staging.
Public methodSetCurrentUser
Sets the current user's guid and username to UserGuid and UserName of current StagingTaskData instance.
See Also