Share via


FileTransferInformation Class

Represents information that is required to request a file transfer.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.Execution.BasicTransferInformation
    Microsoft.VisualStudio.TestTools.Execution.FileTransferInformation

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntax

'Declaration
Public Class FileTransferInformation _
    Inherits BasicTransferInformation
public class FileTransferInformation : BasicTransferInformation
public ref class FileTransferInformation : public BasicTransferInformation
type FileTransferInformation =  
    class 
        inherit BasicTransferInformation 
    end
public class FileTransferInformation extends BasicTransferInformation

The FileTransferInformation type exposes the following members.

Constructors

  Name Description
Public method FileTransferInformation Initializes a new instance of the FileTransferInformation class.

Top

Properties

  Name Description
Protected property ClientFileName Gets the path and file name of the file on the client file system. (Overrides BasicTransferInformation.ClientFileName.)
Public property Context Gets or sets the context for the diagnostic data adapter. (Inherited from BasicTransferInformation.)
Public property DeleteFile Gets a value that indicates whether to delete the local file when the transfer is completed.
Public property Description Gets or sets a short description of the data that is sent. (Inherited from BasicTransferInformation.)
Public property Path Gets or sets the path and file name of the file on the client file system.
Protected property PerformCleanup Infrastructure. Gets a value that indicates whether a cleanup process should be performed after the transfer. (Overrides BasicTransferInformation.PerformCleanup.)
Public property RequestId Gets or sets the ID of the request that is associated with the transferred data. (Inherited from BasicTransferInformation.)
Public property UserToken Gets or sets a token that can be used with a notification when an asynchronous transfer is completed to uniquely identify this transfer. (Inherited from BasicTransferInformation.)

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 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.VisualStudio.TestTools.Execution Namespace

BasicTransferInformation