PendingChange Class

Object representing an item that has changes pending.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<RequiredClientServiceAttribute("VersionControlServer")> _
<CallOnDeserializationAttribute("AfterDeserialize")> _
Public Class PendingChange _
    Implements ICloneable, ICacheable
[RequiredClientServiceAttribute("VersionControlServer")]
[CallOnDeserializationAttribute("AfterDeserialize")]
public class PendingChange : ICloneable, 
    ICacheable
[RequiredClientServiceAttribute(L"VersionControlServer")]
[CallOnDeserializationAttribute(L"AfterDeserialize")]
public ref class PendingChange : ICloneable, 
    ICacheable
[<RequiredClientServiceAttribute("VersionControlServer")>]
[<CallOnDeserializationAttribute("AfterDeserialize")>]
type PendingChange =  
    class 
        interface ICloneable 
        interface ICacheable 
    end
public class PendingChange implements ICloneable, ICacheable

The PendingChange type exposes the following members.

Constructors

  Name Description
Public method PendingChange

Top

Properties

  Name Description
Public property ChangeEx Change type made to the item - integer value is for marshaling purposes
Public property ChangeTypeOld Used to return pending change bits for the v1.0 clients after removing the non-compatible bits.
Public property ConflictType The type of conflict which is on this change - only available on local workspaces.
Public property CreationDate This date is the time the change was created or pended.
Public property DeletionId If 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 property DownloadUrl Returns the download URL fragment of the file to download.
Public property Encoding This 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 property HashValue This is the MD5 HashValue for the contents of the version of the file the change is pended against.
Public property ItemId ID to use to download file contents.
Public property ItemType This is the type of the item being changed. If this is an Add this is the type of the item that will become.
Public property Length This is the length of the committed content (the version of the file the change is pended against).
Public property LocalItem The 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 property LockLevel Specifies the new lock level of the item.
Public property MergeSources Merge source information
Public property PendingChangeId This Idenitifier represents a unique value attached to the change. It may be used to match up pending changes between calls.
Public property PropertyValues The list of properties associated with this object.
Public property ServerItem The repository path of the item being changed.
Public property ShelvedDownloadUrl Returns the download URL fragment of the uploaded file.
Public property SourceDeletionId If ChangeType is branch, then this contains the source deletionId of the branch. Otherwise, 0.
Public property SourceLocalItem If ChangeType is Rename, this specifies the old local path of the item being changed. Null otherwise.
Public property SourceServerItem If 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 property SourceVersionFrom If ChangeType is branch, then this contains the source version of the branch. Otherwise, 0.
Public property UploadHashValue This is the MD5 HashValue for the file that is currently associated with this pending change.
Public property Version When 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

Methods

  Name Description
Public method Clone
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetArtifactSpec
Public method GetCachedSize
Public method GetDownloadUrlCount
Public method GetFileId
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetHashValue
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetDownloadUrl
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

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

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Server Namespace