TeamFoundationFileContainerService.UploadFile Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function UploadFile ( _
requestContext As TeamFoundationRequestContext, _
containerId As Long, _
item As ContainerItem, _
fileStream As Stream, _
offsetFrom As Long, _
compressedLength As Long, _
compressionType As CompressionType _
) As ContainerItem
public ContainerItem UploadFile(
TeamFoundationRequestContext requestContext,
long containerId,
ContainerItem item,
Stream fileStream,
long offsetFrom,
long compressedLength,
CompressionType compressionType
)
public:
ContainerItem^ UploadFile(
TeamFoundationRequestContext^ requestContext,
long long containerId,
ContainerItem^ item,
Stream^ fileStream,
long long offsetFrom,
long long compressedLength,
CompressionType compressionType
)
member UploadFile :
requestContext:TeamFoundationRequestContext *
containerId:int64 *
item:ContainerItem *
fileStream:Stream *
offsetFrom:int64 *
compressedLength:int64 *
compressionType:CompressionType -> ContainerItem
public function UploadFile(
requestContext : TeamFoundationRequestContext,
containerId : long,
item : ContainerItem,
fileStream : Stream,
offsetFrom : long,
compressedLength : long,
compressionType : CompressionType
) : ContainerItem
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- containerId
Type: System.Int64
- fileStream
Type: System.IO.Stream
- offsetFrom
Type: System.Int64
- compressedLength
Type: System.Int64
- compressionType
Type: Microsoft.TeamFoundation.Framework.Server.CompressionType
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.ContainerItem
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.