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 | |
---|---|---|
PendingChange |
Top
Properties
Name | Description | |
---|---|---|
ChangeEx | Change type made to the item - integer value is for marshaling purposes. | |
ChangeTypeOld | Used to return pending change bits for the v1.0 clients after removing the non-compatible bits. | |
ConflictType | The type of conflict which is on this change - only available on local workspaces. | |
CreationDate | This date is the time the change was created or pended. | |
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. | |
DownloadUrl | Returns the download URL fragment of the file to download. | |
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. | |
HashValue | This is the MD5 HashValue for the contents of the version of the file the change is pended against. | |
ItemId | ID to use to download file contents. | |
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. | |
Length | This is the length of the committed content (the version of the file the change is pended against). | |
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. | |
LockLevel | Specifies the new lock level of the item. | |
MergeSources | Merge source information. | |
PendingChangeId | This Idenitifier represents a unique value attached to the change. It may be used to match up pending changes between calls. | |
PropertyValues | The list of properties associated with this object. | |
ServerItem | The repository path of the item being changed. | |
ShelvedDownloadUrl | Returns the download URL fragment of the uploaded file. | |
SourceDeletionId | If ChangeType is branch, then this contains the source deletionId of the branch. Otherwise, 0. | |
SourceLocalItem | If ChangeType is Rename, this specifies the old local path of the item being changed. Null otherwise. | |
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. | |
SourceVersionFrom | If ChangeType is branch, then this contains the source version of the branch. Otherwise, 0. | |
UploadHashValue | This is the MD5 HashValue for the file that is currently associated with this pending change. | |
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 | |
---|---|---|
Clone | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetArtifactSpec | ||
GetCachedSize | ||
GetDownloadUrlCount | ||
GetFileId | ||
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetHashValue | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetDownloadUrl | ||
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.