TeamFoundationFileService.UploadFile 메서드 (TeamFoundationRequestContext, Int32%, array<Byte[], Int64, Int64, CompressionType, Int64, array<Byte[], Int32, OwnerId, String, Int32)
네임스페이스: Microsoft.TeamFoundation.Framework.Server
어셈블리: Microsoft.TeamFoundation.Framework.Server(Microsoft.TeamFoundation.Framework.Server.dll)
구문
‘선언
Public Function UploadFile ( _
requestContext As TeamFoundationRequestContext, _
ByRef fileId As Integer, _
hashValue As Byte(), _
fileLength As Long, _
compressedLength As Long, _
compressionType As CompressionType, _
offsetFrom As Long, _
contentBlock As Byte(), _
contentBlockLength As Integer, _
ownerId As OwnerId, _
fileName As String, _
fileIdRelated As Integer _
) As Boolean
public bool UploadFile(
TeamFoundationRequestContext requestContext,
ref int fileId,
byte[] hashValue,
long fileLength,
long compressedLength,
CompressionType compressionType,
long offsetFrom,
byte[] contentBlock,
int contentBlockLength,
OwnerId ownerId,
string fileName,
int fileIdRelated
)
매개 변수
- requestContext
형식: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- fileId
형식: System.Int32%
- hashValue
형식: array<System.Byte[]
- fileLength
형식: System.Int64
- compressedLength
형식: System.Int64
- compressionType
형식: Microsoft.TeamFoundation.Framework.Server.CompressionType
- offsetFrom
형식: System.Int64
- contentBlock
형식: array<System.Byte[]
- contentBlockLength
형식: System.Int32
- fileName
형식: System.String
- fileIdRelated
형식: System.Int32
반환 값
형식: System.Boolean
Boolean 를 반환합니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.