IAppResourceServiceGetBuiltInResource Method

Gets the built-in resource.

Namespace:  Dundas.BI.AppResources
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
Stream? GetBuiltInResource(
	BuiltInResourceKind builtInResourceKind,
	Guid? tenantId,
	out BuiltInResourceInfo?? builtInResourceInfo,
	bool throwOnNotFound
)

Parameters

builtInResourceKind
Type: Dundas.BI.AppResourcesBuiltInResourceKind
Kind of the built-in resource.
tenantId
Type: SystemNullableGuid
The tenant identifier.
builtInResourceInfo
Type: Dundas.BI.AppResourcesBuiltInResourceInfo
When this method returns, the output parameter contains an BuiltInResourceInfo of the stored resource.
throwOnNotFound
Type: SystemBoolean
Throws NotFoundException if resource is not found and parameter is set to , otherwise returns .

Return Value

Type: Stream
The application resource as a Stream or if not found.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionbuiltInResourceKind is not one of the BuiltInResourceKind values.
ArgumentExceptiontenantId is Empty.
NotFoundException The built-in resource not found. This exception is only thrown if throwOnNotFound is .
See Also