Freigeben über


FileContainerHttpClient.UploadFileAsync-Methode

Namespace:  Microsoft.VisualStudio.Services.FileContainer.Client
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Public Function UploadFileAsync ( _
    containerId As Long, _
    itemPath As String, _
    fileStream As Stream, _
    cancellationToken As CancellationToken, _
    chunkSize As Integer, _
    uploadFirstChunk As Boolean, _
    userState As Object _
) As Task(Of HttpResponseMessage)
public Task<HttpResponseMessage> UploadFileAsync(
    long containerId,
    string itemPath,
    Stream fileStream,
    CancellationToken cancellationToken,
    int chunkSize,
    bool uploadFirstChunk,
    Object userState
)

Parameter

Rückgabewert

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

.NET Framework-Sicherheit

Siehe auch

Referenz

FileContainerHttpClient Klasse

Microsoft.VisualStudio.Services.FileContainer.Client-Namespace