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
- project
Typ: System.String
- path
Typ: System.String
- fileName
Typ: System.String
- download
Typ: System.Nullable<Boolean>
- scopePath
Typ: System.String
- recursionLevel
Typ: System.Nullable<VersionControlRecursionType>
- versionDescriptor
Typ: Microsoft.TeamFoundation.SourceControl.WebApi.TfvcVersionDescriptor
- userState
Typ: System.Object
- cancellationToken
Typ: System.Threading.CancellationToken
Rückgabewert
Typ: System.Threading.Tasks.Task<Stream>
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.