IAppResourceServiceStoreStaticResource Method

Stores the static resource.

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

Parameters

staticResourceInfo  StaticResourceInfo
The static resource information.
inputStream  Stream
The input stream.

Return Value

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