Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
- pathString
Type: System.String
- versionDescriptor
Type: Microsoft.TeamFoundation.SourceControl.WebApi.TfvcVersionDescriptor
- cancellationToken
Type: System.Threading.CancellationToken
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<Stream>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.