Freigeben über


TfvcHttpClient.GetItemContentAsync-Methode (String, String, String, Nullable<Boolean>, String, Nullable<VersionControlRecursionType>, TfvcVersionDescriptor, Object, CancellationToken)

Namespace:  Microsoft.TeamFoundation.SourceControl.WebApi
Assembly:  Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)

Syntax

'Declaration
Public Function GetItemContentAsync ( _
    project As String, _
    path As String, _
    fileName As String, _
    download As Nullable(Of Boolean), _
    scopePath As String, _
    recursionLevel As Nullable(Of VersionControlRecursionType), _
    versionDescriptor As TfvcVersionDescriptor, _
    userState As Object, _
    cancellationToken As CancellationToken _
) As Task(Of Stream)
public Task<Stream> GetItemContentAsync(
    string project,
    string path,
    string fileName,
    Nullable<bool> download,
    string scopePath,
    Nullable<VersionControlRecursionType> recursionLevel,
    TfvcVersionDescriptor versionDescriptor,
    Object userState,
    CancellationToken cancellationToken
)

Parameter

Rückgabewert

Typ: System.Threading.Tasks.Task<Stream>

.NET Framework-Sicherheit

Siehe auch

Referenz

TfvcHttpClient Klasse

GetItemContentAsync-Überladung

Microsoft.TeamFoundation.SourceControl.WebApi-Namespace