Class UploadSessionAppendBatchArgEntry
The upload session append batch arg entry object
Inherited Members
Namespace: Dropbox.Api.Files
Assembly: Dropbox.Api.dll
Syntax
public class UploadSessionAppendBatchArgEntry
Constructors
View SourceUploadSessionAppendBatchArgEntry(UploadSessionCursor, ulong, bool)
Initializes a new instance of the UploadSessionAppendBatchArgEntry class.
Declaration
public UploadSessionAppendBatchArgEntry(UploadSessionCursor cursor, ulong length, bool close = false)
Parameters
| Type | Name | Description |
|---|---|---|
| UploadSessionCursor | cursor | Contains the upload session ID and the offset. |
| ulong | length | Length in bytes of the data that should be appended for this session. Used to split the batched upload data for multiple upload sessions. |
| bool | close | If true, the current session will be closed, at which point you won't be able to call UploadSessionAppendBatchAsync(UploadSessionAppendBatchArg, Stream) anymore with the current session. |
Properties
View SourceClose
If true, the current session will be closed, at which point you won't be able to call UploadSessionAppendBatchAsync(UploadSessionAppendBatchArg, Stream) anymore with the current session.
Declaration
public bool Close { get; protected set; }
Property Value
| Type | Description |
|---|---|
| bool |
Cursor
Contains the upload session ID and the offset.
Declaration
public UploadSessionCursor Cursor { get; protected set; }
Property Value
| Type | Description |
|---|---|
| UploadSessionCursor |
Length
Length in bytes of the data that should be appended for this session. Used to split the batched upload data for multiple upload sessions.
Declaration
public ulong Length { get; protected set; }
Property Value
| Type | Description |
|---|---|
| ulong |