Gets the profile items contained in the requested namespace path.
Namespace: ININ.IceLib.Connection.ExtensionsAssembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public IDictionary<string, ProfileItem> GetNamespaceContents( string namespacePath ) |
Visual Basic |
---|
Public Function GetNamespaceContents ( _ namespacePath As String _ ) As IDictionary(Of String, ProfileItem) |
Parameters
- namespacePath
- Type: System..::..String
The namespace path.
Return Value
The profile items.Remarks
This method will return the value from the cache, if the attribute is cached.
If the attribute is not being cached, it will send a request to the server and get the attribute.
Note |
---|
Requesting a namespace will cause that namespace, and all sub-namespaces, to be returned and cached. This can be used to pre-cache all profile items for a root namespace and make subsequent requests for profile items return from the local cache instead of issuing a server request. |
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | A parameter is nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::..ArgumentException | The namespacePath length is zero. |
ININ.IceLib..::..IceLibException | The custom profile information could not be retrieved. |
Version Information
Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.