Поделиться через


StreamTransferInformation Class

Represents information that is required to request a stream transfer.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.Execution.BasicTransferInformation
    Microsoft.VisualStudio.TestTools.Execution.StreamTransferInformation

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

Syntax

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

The StreamTransferInformation type exposes the following members.

Constructors

  Name Description
Public method StreamTransferInformation Initializes a new instance of the StreamTransferInformation class by using the provided arguments.

Top

Properties

  Name Description
Protected property ClientFileName Gets the path and file name of the file on the client. (Overrides BasicTransferInformation.ClientFileName.)
Public property CloseStream Gets or sets a value that indicates whether to close the stream after the transfer.
Public property Context Gets or sets the context for the diagnostic data adapter. (Inherited from BasicTransferInformation.)
Public property Description Gets or sets a short description of the data that is sent. (Inherited from BasicTransferInformation.)
Public property FileName Gets the path and file name of the file on the client.
Protected property PerformCleanup Infrastructure. Gets a value that indicates whether to perform cleanup 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 Stream Gets or sets the stream for the transfer.
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