Freigeben über


TfvcHttpClient.DownloadItemAsync Method

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

Syntax

'Declaration
Public Function DownloadItemAsync ( _
    pathString As String, _
    versionDescriptor As TfvcVersionDescriptor, _
    cancellationToken As CancellationToken, _
    userState As Object _
) As Task(Of Stream)
public Task<Stream> DownloadItemAsync(
    string pathString,
    TfvcVersionDescriptor versionDescriptor,
    CancellationToken cancellationToken,
    Object userState
)
public:
Task<Stream^>^ DownloadItemAsync(
    String^ pathString, 
    TfvcVersionDescriptor^ versionDescriptor, 
    CancellationToken cancellationToken, 
    Object^ userState
)
member DownloadItemAsync : 
        pathString:string * 
        versionDescriptor:TfvcVersionDescriptor * 
        cancellationToken:CancellationToken * 
        userState:Object -> Task<Stream> 
public function DownloadItemAsync(
    pathString : String, 
    versionDescriptor : TfvcVersionDescriptor, 
    cancellationToken : CancellationToken, 
    userState : Object
) : Task<Stream>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

TfvcHttpClient Class

Microsoft.TeamFoundation.SourceControl.WebApi Namespace