Show / Hide Table of Contents

Class UploadSessionStartArg

The upload session start arg object

Inheritance
System.Object
UploadSessionStartArg
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dropbox.Api.Files
Assembly: Dropbox.Api.dll
Syntax
public class UploadSessionStartArg

Constructors

| Improve this Doc View Source

UploadSessionStartArg(Boolean, UploadSessionType, String)

Initializes a new instance of the UploadSessionStartArg class.

Declaration
public UploadSessionStartArg(bool close = false, UploadSessionType sessionType = null, string contentHash = null)
Parameters
Type Name Description
System.Boolean close

If true, the current session will be closed, at which point you won't be able to call UploadSessionAppendV2Async(UploadSessionAppendArg, Stream) anymore with the current session.

UploadSessionType sessionType

Type of upload session you want to start. If not specified, default is UploadSessionType.Sequential.

System.String contentHash

A hash of the file content uploaded in this call. If provided and the uploaded content does not match this hash, an error will be returned. For more information see our Content hash page.

Properties

| Improve this Doc View Source

Close

If true, the current session will be closed, at which point you won't be able to call UploadSessionAppendV2Async(UploadSessionAppendArg, Stream) anymore with the current session.

Declaration
public bool Close { get; protected set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ContentHash

A hash of the file content uploaded in this call. If provided and the uploaded content does not match this hash, an error will be returned. For more information see our Content hash page.

Declaration
public string ContentHash { get; protected set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SessionType

Type of upload session you want to start. If not specified, default is UploadSessionType.Sequential.

Declaration
public UploadSessionType SessionType { get; protected set; }
Property Value
Type Description
UploadSessionType
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • UploadSessionStartArg(Boolean, UploadSessionType, String)
  • Properties
    • Close
    • ContentHash
    • SessionType
Back to top Generated by DocFX