다음을 통해 공유


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
)

매개 변수

반환 값

형식: System.Boolean
Boolean 를 반환합니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

TeamFoundationFileService 클래스

UploadFile 오버로드

Microsoft.TeamFoundation.Framework.Server 네임스페이스