Acquires an existing working session.
Used to adopt a working session between different enterprises/appdomain.
Assembly: Epic.Core
Declaration Syntax
C# |
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. |