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 (26.2.0.1000)
Syntax
Stream? GetBuiltInResource(
	BuiltInResourceKind builtInResourceKind,
	Guid? tenantId,
	out BuiltInResourceInfo?? builtInResourceInfo,
	bool throwOnNotFound
)

Parameters

builtInResourceKind  BuiltInResourceKind
Kind of the built-in resource.
tenantId  NullableGuid
The tenant identifier.
builtInResourceInfo  BuiltInResourceInfo
When this method returns, the output parameter contains an BuiltInResourceInfo of the stored resource.
throwOnNotFound  Boolean
Throws NotFoundException if resource is not found and parameter is set to , otherwise returns .

Return Value

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