where:
key: is a string representation of a given CacheSessionProperties property CacheSessionPropertiesPROPERTY prefixed with a string "prefix"
value: is a string representation of the value of that property
Rules:
1. Keys that are not in the CacheSessionProperties's property set CacheSessionPropertiesPROPERTY, are ignored and a warning log is generated.
2. If a property is omitted, the default value is used.
3. Validation and type checking are performed on the provided values, a conversion exception is thrown if any of the provided values cannot be converted.
4. Read-only properties are ignored.
public static CacheSessionProperties FromDictionaryWithPrefix(
IDictionary<string, string> dictionary,
string prefix
)
FormatException | |
OverflowException |