Open this page in the API Guide

ILocalizationService.GetLocalization Method

Gets the localization.

Namespace:  Dundas.BI
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
Stream? GetLocalization(
	LocalizationInfo localizationInfo,
	bool throwOnNotFound
)

Parameters

localizationInfo
Type: Dundas.BI.LocalizationInfo
The localization information.
throwOnNotFound
Type: System.Boolean
Throws NotFoundException if resource is not found and parameter is set to true, otherwise returns null.

Return Value

Type: Stream
The localization resource as Stream or null if not found.
Exceptions
ExceptionCondition
ArgumentNullExceptionlocalizationInfo is null.
NotFoundExceptionThe localization resource not found.
NoPrivilegeExceptionThe caller does not have administrative privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also