IResourceFileServiceCreate Method |
Namespace: Dundas.BI.FileSystem
File Create( ObjectType objectType, string name, Guid parentId, Stream data, EntryCreationOptions? options )
Exception | Condition |
---|---|
ArgumentException | objectType is not a resource type. -or- name is , empty, only consists of whitespace, or contains invalid characters. -or- parentId is Empty. |
ArgumentNullException | data is . |
ArgumentOutOfRangeException | name is longer than MaxNameLength. |
NotFoundException | The entry specified by parentId does not exist. |
DuplicateItemException | A file or folder with the specified name already exists in the parent folder. |
InvalidOperationException | The size of the data exceeds the limit set by the MaxResourceFileSize configuration setting. |
NoPrivilegeException | The caller does not have permission to create entries in the specified parent. -or- The caller's seat kind is less privileged than PowerUser. |
InvalidSessionException | The caller context is not associated with a valid session. |