C# 클래스 Microsoft.OneDrive.Sdk.UploadChunkRequest

The type UploadChunkRequest.
상속: BaseRequest, IUploadChunkRequest
파일 보기 프로젝트 열기: OneDrive/onedrive-sdk-csharp

공개 메소드들

메소드 설명
PutAsync ( Stream stream ) : Task

Uploads the chunk using PUT.

PutAsync ( Stream stream, CancellationToken cancellationToken ) : Task

Uploads the chunk using PUT.

UploadChunkRequest ( string sessionUrl, IBaseClient client, IEnumerable options, long rangeBegin, long rangeEnd, long totalSessionLength ) : System.Linq

Request for uploading one chunk of a session

비공개 메소드들

메소드 설명
SendRequestAsync ( Stream stream, CancellationToken cancellationToken, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead ) : Task

메소드 상세

PutAsync() 공개 메소드

Uploads the chunk using PUT.
public PutAsync ( Stream stream ) : Task
stream Stream
리턴 Task

PutAsync() 공개 메소드

Uploads the chunk using PUT.
public PutAsync ( Stream stream, CancellationToken cancellationToken ) : Task
stream Stream Stream of data to be sent in the request. Length must be equal to the length /// of this chunk (as defined by this.RangeLength)
cancellationToken System.Threading.CancellationToken The cancellation token
리턴 Task

UploadChunkRequest() 공개 메소드

Request for uploading one chunk of a session
public UploadChunkRequest ( string sessionUrl, IBaseClient client, IEnumerable options, long rangeBegin, long rangeEnd, long totalSessionLength ) : System.Linq
sessionUrl string URL to upload the chunk.
client IBaseClient Client used for sending the chunk.
options IEnumerable Options
rangeBegin long Beginning of range of this chunk
rangeEnd long End of range of this chunk
totalSessionLength long Total session length. This MUST be consistent /// across all chunks.
리턴 System.Linq