Gets the specified profile item.
Namespace: ININ.IceLib.Connection.ExtensionsAssembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public ProfileItem GetProfileItem( string namespacePath, string key ) |
Visual Basic |
---|
Public Function GetProfileItem ( _ namespacePath As String, _ key As String _ ) As ProfileItem |
Parameters
- namespacePath
- Type: System..::..String
The namespace path.
- key
- Type: System..::..String
The key.
Return Value
The requested profile item.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.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | A parameter is nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::..ArgumentException | The namespacePath or key 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.