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.


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

[ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)]
public class GetOperation : ICacheable

The GetOperation type exposes the following members.

Public methodGetOperation

Public propertyAttributesAttributes
Public propertyChangeExChangeType of pending change.
Public propertyChangeTypeOldUsed to return pending change bits for the v1.0 clients after removing the non-compatible bits.
Public propertyConflictingChangeTypeExChangeType of conflicting pending change.
Public propertyConflictingChangeTypeOldUsed to return pending change bits for the v1.0 clients after removing the non-compatible bits.
Public propertyConflictingItemIdThe ItemId of the conflicting pending change. This is useful for detecting namespace conflicts on the client.
Public propertyDeletionIdThis is the deletion ID for the item, non-zero means it is deleted
Public propertyDownloadUrlThe download URL fragment of the file to download.
Public propertyEncodingThe committed encoding of the item. If it is a pending add or branch, this is the encoding of that.
Public propertyHasConflict
Public propertyHashValueThis is the MD5 Hash Value of the contents of the version of the file that you are being told to obtain.
Public propertyIsLatestThis is set to true when this getoperation is telling the caller that they are acting on the latest version of this item.
Public propertyIsNamespaceConflictWhether 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
Public propertyItemId
Public propertyItemType
Public propertyLockLevelThe lock level represents locks applied to this item. If the item is a folder it implies a lock to all subitems.
Public propertyPendingChangeIdThis Idenitifier represents a unique value attached to the change. It may be used to match up pending changes between calls.
Public propertyProperties Obsolete. Attributes
Public propertyPropertyValuesProperties
Public propertySourceLocalItemThis is the current location/name of the file or folder if the client has an existing version of this item.
Public propertySourceServerItemName 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.
Public propertyTargetLocalItemThis is the target location/name of the file or folder.
Public propertyTargetServerItemName of the file or folder in pending space
Public propertyVersionLocalThe version (changeset number) that you currently have in your workspace.
Public propertyVersionRevertToVersion number that should be reverted to for this committed item if the change where to be undone.
Public propertyVersionServerVersion number of the item that the client should have in its workspace (changeset number).
Public propertyVersionServerDateThe date / time the server version was committed.

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.)

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