PendingChange Class

Object representing an item that has changes pending.

System.Object
  Microsoft.TeamFoundation.VersionControl.Server.PendingChange

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

[RequiredClientServiceAttribute("VersionControlServer")]
[CallOnDeserializationAttribute("AfterDeserialize")]
public class PendingChange : ICloneable, 
	ICacheable

The PendingChange type exposes the following members.

  NameDescription
Public methodPendingChange
Top

  NameDescription
Public propertyChangeExChange type made to the item - integer value is for marshaling purposes.
Public propertyChangeTypeOldUsed to return pending change bits for the v1.0 clients after removing the non-compatible bits.
Public propertyConflictTypeThe type of conflict which is on this change - only available on local workspaces.
Public propertyCreationDateThis date is the time the change was created or pended.
Public propertyDeletionIdIf ChangeType is Undelete and there is more than one deleted item with the same repository path, this ID is used to disambiguate them. Otherwise, it should be 0.
Public propertyDownloadUrlReturns the download URL fragment of the file to download.
Public propertyEncodingThis is the encoding of the file, if it is 0 then the encoding is not being changed. If the encoding is 0 than the encoding is not being set in this change operation.
Public propertyHashValueThis is the MD5 HashValue for the contents of the version of the file the change is pended against.
Public propertyItemIdID to use to download file contents.
Public propertyItemTypeThis is the type of the item being changed. If this is an Add this is the type of the item that will become.
Public propertyLengthThis is the length of the committed content (the version of the file the change is pended against).
Public propertyLocalItemThe path of the item on the client's local file system. This is mostly for the client's benefit, but must be specified on adds if the new item is to be added to the workspace's LocalVersion table.
Public propertyLockLevelSpecifies the new lock level of the item.
Public propertyMergeSourcesMerge source information.
Public propertyPendingChangeIdThis Idenitifier represents a unique value attached to the change. It may be used to match up pending changes between calls.
Public propertyPropertyValuesThe list of properties associated with this object.
Public propertyServerItemThe repository path of the item being changed.
Public propertyShelvedDownloadUrlReturns the download URL fragment of the uploaded file.
Public propertySourceDeletionIdIf ChangeType is branch, then this contains the source deletionId of the branch. Otherwise, 0.
Public propertySourceLocalItemIf ChangeType is Rename, this specifies the old local path of the item being changed. Null otherwise.
Public propertySourceServerItemIf ChangeType is Rename this is the source of the rename If ChangeType is branch this is the source of the branch otherwise this is the same as ServerItem.
Public propertySourceVersionFromIf ChangeType is branch, then this contains the source version of the branch. Otherwise, 0.
Public propertyUploadHashValueThis is the MD5 HashValue for the file that is currently associated with this pending change.
Public propertyVersionWhen the version is zero the pending change is not made against an existing item version. If the version is non-zero the pending change was made to the specified version of the item.
Top

  NameDescription
Public methodClone
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 methodGetArtifactSpec
Public methodGetCachedSize
Public methodGetDownloadUrlCount
Public methodGetFileId
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetHashValue
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetDownloadUrl
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft