Solclient
FlowPropertiesFromDictionary Method |
Creates and returns a new FlowProperties given a dictionary of key/value strings
where:
key: is a string representation of a given FlowProperties property FlowPropertiesPROPERTY
value: is a string representation of the value of that property
Rules:
1. Keys that are not in the FlowProperties' property set FlowPropertiesPROPERTY, 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, and a conversion exception is thrown if any of the provided values cannot be converted.
4. Read-only properties are ignored.
Namespace: SolaceSystems.Solclient.Messaging
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 7.2.1.27 (7.2.1.27)
Syntax
public static FlowProperties FromDictionary( IDictionary<string, string> dictionary )
Public Shared Function FromDictionary ( dictionary As IDictionary(Of String, String) ) As FlowProperties
public: static FlowProperties^ FromDictionary( IDictionary<String^, String^>^ dictionary )
Parameters
- dictionary
- Type: System.Collections.GenericIDictionaryString, String
Return Value
Type: FlowPropertiesReturns a new FlowProperties given a dictionary of key/value strings
Exceptions
Exception | Condition |
---|---|
FormatException | |
OverflowException |
See Also