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 (9.0.0.1000)
SyntaxStream GetBuiltInResource(
BuiltInResourceKind builtInResourceKind,
Nullable<Guid> tenantId,
out BuiltInResourceInfo builtInResourceInfo,
bool throwOnNotFound
)
Function GetBuiltInResource (
builtInResourceKind As BuiltInResourceKind,
tenantId As Nullable(Of Guid),
<OutAttribute> ByRef builtInResourceInfo As BuiltInResourceInfo,
throwOnNotFound As Boolean
) As Stream
Stream^ GetBuiltInResource(
BuiltInResourceKind builtInResourceKind,
Nullable<Guid> tenantId,
[OutAttribute] BuiltInResourceInfo^% builtInResourceInfo,
bool throwOnNotFound
)
abstract GetBuiltInResource :
builtInResourceKind : BuiltInResourceKind *
tenantId : Nullable<Guid> *
builtInResourceInfo : BuiltInResourceInfo byref *
throwOnNotFound : bool -> Stream
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:
StreamThe application resource as a
Stream or
if not found.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException | builtInResourceKind is not one of the BuiltInResourceKind values. |
| ArgumentException | tenantId is Empty. |
| NotFoundException |
The built-in resource not found. This exception is only thrown if throwOnNotFound is .
|
See Also