共用方式為


GettingEventArgs Class

Event arguments for the Getting event.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.TeamFoundation.VersionControl.Client.GettingEventArgs

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

Syntax

'宣告
Public Class GettingEventArgs _
    Inherits EventArgs
public class GettingEventArgs : EventArgs
public ref class GettingEventArgs : public EventArgs
type GettingEventArgs =  
    class
        inherit EventArgs
    end
public class GettingEventArgs extends EventArgs

The GettingEventArgs type exposes the following members.

Properties

  Name Description
Public property ChangeType Gets the change type for this operation.
Public property DeletionId Gets the deletion ID of the target item in the Get action.
Public property DiskUpdateAttempted Gets a flag that describes whether a disk update was attempted (that is, this was not a preview operation).
Public property IsDelete Gets a flag that describes whether the Get operation will perform a delete action.
Public property IsLatest Gets a flag that describes whether the target of the Get operation is the latest version of the file.
Public property ItemId Gets the item ID that is being operated on.
Public property ItemType Gets the item type that is being operated on.
Public property Properties Gets a read-only collection of property-value pairs of this instance.
Public property ServerItem Gets the server item that is being operated on.
Public property SourceLocalItem Gets the source local path of the item.
Public property Status Gets the result of the Get operation.
Public property TargetLocalItem The target local path of the item.
Public property Version Gets the version of the target item in the Get action.
Public property Workspace Gets the workspace that was updated by this event.

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 GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetMessage Gets a message that describes this event.
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 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.Client Namespace