Constructor DirectoryUploadStoreOptions
DirectoryUploadStoreOptions()
Initializes a new instance of the DirectoryUploadStoreOptions class.
Declaration
public DirectoryUploadStoreOptions()
DirectoryUploadStoreOptions(IAbsoluteDirectoryPath, StoreSharingMode)
Initializes a new instance of the DirectoryUploadStoreOptions class with the directory and whether other processes use it too.
Declaration
[SetsRequiredMembers]
public DirectoryUploadStoreOptions(IAbsoluteDirectoryPath directory, StoreSharingMode sharingMode)
Parameters
| Type | Name | Description |
|---|---|---|
| IAbsoluteDirectoryPath | directory | The directory that the store keeps uploads in (see Directory). |
| StoreSharingMode | sharingMode | Whether other processes use the directory too (see SharingMode). |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException |
|
| ArgumentOutOfRangeException |
|