Freigeben über


TeamFoundationFileService.UploadFile-Methode (TeamFoundationRequestContext, Stream, OwnerId, String)

Lädt die angegebene Datei dem Blob-Speicher hoch

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function UploadFile ( _
    requestContext As TeamFoundationRequestContext, _
    content As Stream, _
    ownerId As OwnerId, _
    fileName As String _
) As Integer
public int UploadFile(
    TeamFoundationRequestContext requestContext,
    Stream content,
    OwnerId ownerId,
    string fileName
)

Parameter

Rückgabewert

Typ: System.Int32
ein Dateikennzeichen

.NET Framework-Sicherheit

Siehe auch

Referenz

TeamFoundationFileService Klasse

UploadFile-Überladung

Microsoft.TeamFoundation.Framework.Server-Namespace