Compartilhar via


Método TeamFoundationFileService.UploadFile (TeamFoundationRequestContext, Stream, array<Byte[], OwnerId)

Carrega o arquivo fornecido no repositório de blob

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

Sintaxe

'Declaração
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
)

Parâmetros

  • hashValue
    Tipo: array<System.Byte[]
    Hash MD5 para esta operação de soltar

Valor de retorno

Tipo: System.Int32
um identificador de arquivo

Segurança do .NET Framework

Consulte também

Referência

TeamFoundationFileService Classe

Sobrecargas UploadFile

Namespace Microsoft.TeamFoundation.Framework.Server