Compartilhar via


Método TeamFoundationFileContainerService.UploadFile

Carregar um arquivo para o contêiner.

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, _
    containerId As Long, _
    item As FileContainerItem, _
    fileStream As Stream, _
    offsetFrom As Long, _
    compressedLength As Long, _
    compressionType As CompressionType _
) As FileContainerItem
public FileContainerItem UploadFile(
    TeamFoundationRequestContext requestContext,
    long containerId,
    FileContainerItem item,
    Stream fileStream,
    long offsetFrom,
    long compressedLength,
    CompressionType compressionType
)

Parâmetros

  • containerId
    Tipo: System.Int64
    identificação de contêiner
  • offsetFrom
    Tipo: System.Int64
    Posição de início da parte que está sendo carregada.
  • compressedLength
    Tipo: System.Int64
    Comprimento do arquivo compactado.

Valor de retorno

Tipo: Microsoft.VisualStudio.Services.FileContainer.FileContainerItem

Segurança do .NET Framework

Consulte também

Referência

TeamFoundationFileContainerService Classe

Namespace Microsoft.TeamFoundation.Framework.Server