Acquires an existing working session. Template method.
Assembly: Epic.Core
Declaration Syntax
C# |
public IWorkingSession AcquireWorkingSession( IPrincipal owner, string identifier )
Parameters
- owner (IPrincipal)
- The owner.
- identifier (String)
- The working session identifier.
Return Value
The working session.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | owner is nullNothingnullptr. |
ArgumentNullException | identifier is nullNothingnullptr
or empty. |
InvalidOperationException | owner can not acquire
the IWorkingSession identified by identifier. |