ISessionServiceSetSessionCulture Method |
Sets session culture associated with the specified session.
Namespace:
Dundas.BI.AccountServices
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (9.0.0.1000)
Syntaxvoid SetSessionCulture(
Guid sessionId,
CultureInfo culture
)
Sub SetSessionCulture (
sessionId As Guid,
culture As CultureInfo
)
void SetSessionCulture(
Guid sessionId,
CultureInfo^ culture
)
abstract SetSessionCulture :
sessionId : Guid *
culture : CultureInfo -> unit
Parameters
- sessionId
- Type: SystemGuid
The session ID. - culture
- Type: System.GlobalizationCultureInfo
The culture.
Exceptions| Exception | Condition |
|---|
| ArgumentException | sessionId is Empty. -or- culture is InvariantCulture. |
| ArgumentNullException | culture is . |
| NoPrivilegeException | sessionId does not correspond to the caller's session, and the caller is not an administrator.
|
| InvalidSessionException | The caller context is not associated with a valid session. |
See Also