GetValue
This is Task.
Last updated
Was this helpful?
This is Task.
Task version: 2.0.0
Required Frends version: 5.5+
Required .NET version: 6.0
Compatible Agents: Crossplatform
Key : String
Key to get
Default: -
Example: Foo
ThrowErrorOnFailure : Boolean
True: Throw an exception.
False: Error will be added to the Result.Error.AdditionalInformation list instead of stopping the Task.
Default: True
Example: true
ErrorMessageOnFailure : String
Message what will be used when error occurs
Default: -
Example: Task failed during execution
ConnectionMethod : ConnectionMethod
Method to use to connect to Redis
Possible values:
SimpleConnectionString: Method to use to connect to Redis
MicrosoftEntraId: Method to use to connect to Redis
Default: 1
Example: ConnectionMethod.SimpleConnectionString
ConnectionString : String
Connection string to Redis.
Default: -
Example: your-redis-name.redis.cache.windows.net:6380,ssl=true
StringValue : String
Returned string value
Example: "foobar"
ListValue : List<String>
Returned list value
Example: ["Foo", "Bar"]
DictionaryValue : Dictionary<String, String>
Returned dictionary value
Example: { { "Foo", "Bar" }, { "Moo", "Baz" } }
Success : Boolean
Success flag
Example: true
Error : Error
Error info
Changelog for Task Frends.Redis.GetValue.
Changed result values to distinguish between supported values (string, hash, set, list)
[Breaking Change] Renamed Result.Value to Result.StringValue to distinguish between other values
Added support for MicrosoftEntraId Authentication
Make default error message empty by default
Initial implementation
Last updated
Was this helpful?
Was this helpful?

