ICodeLibraryServiceGenerateCodeLibrary Method | 
Namespace: Dundas.BI.Entities.CodeLibraries
| Exception | Condition | 
|---|---|
| ArgumentException | name is , empty, only consists of whitespace, or contains invalid characters. -or- parentId is Empty.  | 
| ArgumentOutOfRangeException | contentType is not one of the ContentType values. | 
| InvalidOperationException | The entity has already been saved at least once. | 
| NotFoundException | The specified parent does not exist. | 
| DuplicateItemException | An item with the same name already exists in the specified location. | 
| QuotaExceededException | Generating the code library would cause the entity quota for code libraries or one of the underlying entity types to be exceeded. | 
| NoPrivilegeException | The caller does not have access to overwrite or save to the specified location. -or- The entity being saved requires at least Developer privilege.  | 
| InvalidSessionException | The caller context is not associated with a valid session. |