Freigeben über


TeamFoundationFileService.UploadFile-Methode (TeamFoundationRequestContext, Stream, array<Byte[], OwnerId)

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, _
    hashValue As Byte(), _
    ownerId As OwnerId _
) As Integer
public int UploadFile(
    TeamFoundationRequestContext requestContext,
    Stream content,
    byte[] hashValue,
    OwnerId ownerId
)

Parameter

  • hashValue
    Typ: array<System.Byte[]
    MD5-Hash für dieses Blob

Rückgabewert

Typ: System.Int32
ein Dateikennzeichen

.NET Framework-Sicherheit

Siehe auch

Referenz

TeamFoundationFileService Klasse

UploadFile-Überladung

Microsoft.TeamFoundation.Framework.Server-Namespace