Property SharingMode
SharingMode
Gets who uses the store's uploads: only this process (ProcessLocal), or every process or server that uses the same storage (Shared).
Declaration
StoreSharingMode SharingMode { get; }
Property Value
| Type | Description |
|---|---|
| StoreSharingMode |
Remarks
The service reads it when the application starts. A shared store requires a shared IShortLivedStore of Uploads (see SharingMode), or the application fails to start, as it does if the value is Unspecified or not a value of StoreSharingMode. With a process-local store and a shared short-lived store, the counts of open uploads are kept for each machine (see the uploads guide).
With a shared store, a server whose upload's handler runs checks every CancelCheckInterval whether the upload was cancelled on another server. With a process-local store, each request for an upload reaches the process that keeps it, so a cancellation reaches the handler at once, and the runs that a store's uploads have when the application starts were left by a process that has ended, so the service ends them as interrupted.