IEntityServiceTGetUndoContext Method

Gets the undo context.

Namespace:  Dundas.BI.Entities
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
UndoContext GetUndoContext(
	Guid entityId
)

Parameters

entityId
Type: SystemGuid
The entity identifier.

Return Value

Type: UndoContext
The current undo context.
Exceptions
ExceptionCondition
ArgumentExceptionentityId is Empty.
InvalidOperationException

The entity has never been saved before.

-or-

The entity is not checked out to the caller.

NotFoundExceptionThe entity with the specified ID does not exist when saving an existing entity.
NoPrivilegeException

The caller does not have the Write permission on the entity.

-or-

The entity being saved is not a dashboard and the caller's seat kind is not PowerUser or better.

InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also