Freigeben über


ITestAttachment.DownloadToFile-Methode

Lädt den Anlageninhalt in die angegebene Datei herunter, nachdem die zugeordnete Arbeitsaufgabe auf dem Server gespeichert wurde.

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

Syntax

'Declaration
Sub DownloadToFile ( _
    localFileName As String _
)
void DownloadToFile(
    string localFileName
)
void DownloadToFile(
    String^ localFileName
)
abstract DownloadToFile : 
        localFileName:string -> unit
function DownloadToFile(
    localFileName : String
)

Parameter

  • localFileName
    Typ: String

    Der vollqualifizierte Name der Datei.

Hinweise

Wenn diese M:Microsoft.TeamFoundation.TestManagement.Client.ITestAttachment.DownloadToFile(System.String)-Method aufgerufen wird, bevor die Anlage vollständig hochgeladen wurde, gibt die Methode die lokale Datei zurück und löst keine Ausnahme aus.

.NET Framework-Sicherheit

Siehe auch

Referenz

ITestAttachment Schnittstelle

Microsoft.TeamFoundation.TestManagement.Client-Namespace

DownloadToArray