Compartilhar via


Método TeamFoundationFileService.UploadFile (TeamFoundationRequestContext, Stream, 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, _
    ownerId As OwnerId _
) As Integer
public int UploadFile(
    TeamFoundationRequestContext requestContext,
    Stream content,
    OwnerId ownerId
)

Parâmetros

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