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
Public method GetOperation

Top

Properties

  Name Description
Public property Attributes Attributes
Public property ChangeEx ChangeType of pending change.
Public property ChangeTypeOld Used to return pending change bits for the v1.0 clients after removing the non-compatible bits.
Public property ConflictingChangeTypeEx ChangeType of conflicting pending change.
Public property ConflictingChangeTypeOld Used to return pending change bits for the v1.0 clients after removing the non-compatible bits.
Public property ConflictingItemId The ItemId of the conflicting pending change. This is useful for detecting namespace conflicts on the client.
Public property DeletionId This is the deletion ID for the item, non-zero means it is deleted
Public property DownloadUrl The download URL fragment of the file to download.
Public property Encoding The committed encoding of the item. If it is a pending add or branch, this is the encoding of that.
Public property HasConflict
Public property HashValue This is the MD5 Hash Value of the contents of the version of the file that you are being told to obtain.
Public property IsLatest This is set to true when this getoperation is telling the caller that they are acting on the latest version of this item.
Public property 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
Public property ItemId
Public property ItemType
Public property LockLevel The lock level represents locks applied to this item. If the item is a folder it implies a lock to all subitems.
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 Properties Obsolete. Attributes
Public property PropertyValues Properties
Public property SourceLocalItem This is the current location/name of the file or folder if the client has an existing version of this item.
Public property 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.
Public property TargetLocalItem This is the target location/name of the file or folder.
Public property TargetServerItem Name of the file or folder in pending space
Public property VersionLocal The version (changeset number) that you currently have in your workspace.
Public property VersionRevertTo Version number that should be reverted to for this committed item if the change where to be undone.
Public property VersionServer Version number of the item that the client should have in its workspace (changeset number).
Public property VersionServerDate The date / time the server version was committed.

Top

Methods

  Name Description
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 the default hash function. (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