IAppResourceServiceStoreStaticResource Method |
Stores the static resource.
Namespace:
Dundas.BI.AppResources
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (9.0.0.1000)
SyntaxStaticResourceInfo StoreStaticResource(
StaticResourceInfo staticResourceInfo,
Stream inputStream
)
Function StoreStaticResource (
staticResourceInfo As StaticResourceInfo,
inputStream As Stream
) As StaticResourceInfo
StaticResourceInfo^ StoreStaticResource(
StaticResourceInfo^ staticResourceInfo,
Stream^ inputStream
)
abstract StoreStaticResource :
staticResourceInfo : StaticResourceInfo *
inputStream : Stream -> StaticResourceInfo
Parameters
- staticResourceInfo
- Type: Dundas.BI.AppResourcesStaticResourceInfo
The static resource information. - inputStream
- Type: System.IOStream
The input stream.
Return Value
Type:
StaticResourceInfoThe
StaticResourceInfo of the stored resource.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | staticResourceInfo is . -or- inputStream is . |
| DuplicateItemException | Another static resource with the same name but different ID already exists. |
| NoPrivilegeException | The caller does not have administrative privileges. |
| InvalidSessionException | The caller context is not associated with a valid session. |
See Also