Aracılığıyla paylaş


DataCollectionSink.SendFileAsync Yöntem (DataCollectionContext, String, String, Boolean)

Bir ara dosya çok zaman uyumsuz olarak gönderir DataCollectionSink bu yöntemi için belirtilen parametreler kullanarak.

Ad alanı:  Microsoft.VisualStudio.TestTools.Execution
Derleme:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll içinde)

Sözdizimi

'Bildirim
Public Sub SendFileAsync ( _
    context As DataCollectionContext, _
    path As String, _
    description As String, _
    deleteFile As Boolean _
)
public void SendFileAsync(
    DataCollectionContext context,
    string path,
    string description,
    bool deleteFile
)
public:
void SendFileAsync(
    DataCollectionContext^ context, 
    String^ path, 
    String^ description, 
    bool deleteFile
)
member SendFileAsync : 
        context:DataCollectionContext * 
        path:string * 
        description:string * 
        deleteFile:bool -> unit 
public function SendFileAsync(
    context : DataCollectionContext, 
    path : String, 
    description : String, 
    deleteFile : boolean
)

Parametreler

  • deleteFile
    Tür: System.Boolean
    true dosyayı gönderdikten sonra otomatik olarak silmek için; Aksi halde, false.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

DataCollectionSink Sınıf

SendFileAsync Fazla Yük

Microsoft.VisualStudio.TestTools.Execution Ad Alanı

IBaseRunContext