IAppResourceServiceStoreStaticResource Method

Stores the static resource.

Namespace:  Dundas.BI.AppResources
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
StaticResourceInfo StoreStaticResource(
	StaticResourceInfo staticResourceInfo,
	Stream inputStream
)

Parameters

staticResourceInfo
Type: Dundas.BI.AppResourcesStaticResourceInfo
The static resource information.
inputStream
Type: System.IOStream
The input stream.

Return Value

Type: StaticResourceInfo
The StaticResourceInfo of the stored resource.
Exceptions
ExceptionCondition
ArgumentNullException

staticResourceInfo is .

-or-

inputStream is .

DuplicateItemExceptionAnother static resource with the same name but different ID already exists.
InvalidOperationException

Data exceeds the maximum configured static resource size.

-or-

Stream is empty or its position is set to the end.

NoPrivilegeExceptionThe caller does not have administrative privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also