GetOperation Class
An entry in the "to do" list that Get returns to the client.
Each instance of this class represents an item that needs something done on the client.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.VersionControl.Server.GetOperation
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)> _
<CallOnDeserializationAttribute("AfterDeserialize")> _
Public Class GetOperation _
Implements ICacheable
[ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)]
[CallOnDeserializationAttribute("AfterDeserialize")]
public class GetOperation : ICacheable
[ClassVisibilityAttribute(ClientVisibility::Internal, ClientVisibility::Internal)]
[CallOnDeserializationAttribute(L"AfterDeserialize")]
public ref class GetOperation : ICacheable
[<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)>]
[<CallOnDeserializationAttribute("AfterDeserialize")>]
type GetOperation =
class
interface ICacheable
end
public class GetOperation implements ICacheable
The GetOperation type exposes the following members.
Constructors
Name | Description | |
---|---|---|
GetOperation |
Top
Properties
Name | Description | |
---|---|---|
Attributes | Attributes | |
ChangeEx | ChangeType of pending change. | |
ChangeTypeOld | Used to return pending change bits for the v1.0 clients after removing the non-compatible bits. | |
ConflictingChangeTypeEx | ChangeType of conflicting pending change. | |
ConflictingChangeTypeOld | Used to return pending change bits for the v1.0 clients after removing the non-compatible bits. | |
ConflictingItemId | The ItemId of the conflicting pending change. This is useful for detecting namespace conflicts on the client. | |
DeletionId | This is the deletion ID for the item, non-zero means it is deleted | |
DownloadUrl | The download URL fragment of the file to download. | |
Encoding | The committed encoding of the item. If it is a pending add or branch, this is the encoding of that. | |
HasConflict | ||
HashValue | This is the MD5 Hash Value of the contents of the version of the file that you are being told to obtain. | |
IsLatest | This is set to true when this getoperation is telling the caller that they are acting on the latest version of this item. | |
IsNamespaceConflict | Whether the conflict is a namespace conflict or not Is a byte for backward compatibility - a newer client talking to an older server can tell whether the server populated this or not and fall back to the old logic 0 indicates it is not populated 1 indicates it is a namespace conflict 2 indicates it is not a namespace conflict | |
ItemId | ||
ItemType | ||
LockLevel | The lock level represents locks applied to this item. If the item is a folder it implies a lock to all subitems. | |
PendingChangeId | This Idenitifier represents a unique value attached to the change. It may be used to match up pending changes between calls. | |
Properties | Obsolete. Attributes | |
PropertyValues | Properties | |
SourceLocalItem | This is the current location/name of the file or folder if the client has an existing version of this item. | |
SourceServerItem | Name of the file or folder in the server's repository path space to optimize the server will send back / for any items where this matches the target server item. | |
TargetLocalItem | This is the target location/name of the file or folder. | |
TargetServerItem | Name of the file or folder in pending space | |
VersionLocal | The version (changeset number) that you currently have in your workspace. | |
VersionRevertTo | Version number that should be reverted to for this committed item if the change where to be undone. | |
VersionServer | Version number of the item that the client should have in its workspace (changeset number). | |
VersionServerDate | The date / time the server version was committed. |
Top
Methods
Name | Description | |
---|---|---|
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.