IAnnotationServiceCreateAnnotation Method (Guid, Guid, AnnotationCreationOptionsWithCoordinates, Task) |
Namespace: Dundas.BI.Data.Annotations
Annotation CreateAnnotation( Guid viewId, Guid metricSetId, AnnotationCreationOptionsWithCoordinates options, out Task notificationTask )
Exception | Condition |
---|---|
ArgumentException | viewId is Empty -or- metricSetId is Empty. |
ArgumentNullException | options is . |
NotFoundException | The metric set with the specified ID does not exist. |
InvalidOperationException | The specified metric set is inactive. |
NoPrivilegeException | The caller does not have the Read privilege on the specified metric set. -or- The caller does not have the Execute privilege on the underlying analysis structure. -or- The caller does not have the Note privilege. |
InvalidSessionException | The caller context is not associated with a valid session. |