|
EncryptedDataStoreCreateNode Method |
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Creates a data objects and saves it in the data store.
Namespace:
WeroSoft.Security
Assembly:
WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 3.0 Pre-Release
Syntax public Guid CreateNode(
IEncryptedDataProvider provider,
Guid parent,
string name
)
Parameters
- provider
- Type: WeroSoft.SecurityIEncryptedDataProvider
Provider which is responsible for this data. - parent
- Type: SystemGuid
Identifier of the parent object where this element shall be added to. Use null to add a
an object to the root.
- name
- Type: SystemString
Name of the object to be set.
Return Value
Type:
GuidIdentifier of the new object.
Exceptions Exception | Condition |
---|
ObjectDisposedException | Thrown if the object has already disposed and therefore no longer can be used. |
InvalidOperationException | Thrown if object is not initialized and therefore not yet may be used. |
AssertArgumentException |
Thrown if one of the following condition fits.
The parameter provider is null.The parameter name is null, empty or contains only white spaces. |
See Also