Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

GetValue

This is Task.

Task version: 2.0.0

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

Key : String

Key to get

Default: - Example: Foo

Name
Description

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

Name
Description

ConnectionMethod : ConnectionMethod

Method to use to connect to Redis

Possible values:

  • SimpleConnectionString: Using basic connection string with all credentials needed innit

  • MicrosoftEntraId: Using Microsoft Entra ID to get token authentication

Default: SimpleConnectionString Example: ConnectionMethod.SimpleConnectionString

ConnectionString : String

Connection string to Redis.

Default: - Example: your-redis-name.redis.cache.windows.net:6380,ssl=true

Task Result

Name
Description

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

Error.Message : String

Error message

Error.AdditionalInfo : Object

Object with additional information

Task Changelog

Changelog for Task Frends.Redis.GetValue.

[2.0.0] - 2026-03-03

Changed

  • 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

  • Added support for MicrosoftEntraId Authentication

[1.1.0] - 2025-07-31

Changed

  • Make default error message empty by default

[1.0.0] - 2025-05-13

Changed

  • Initial implementation

Last updated

Was this helpful?