RedisCache.GetAsync Method

Definition

Overloads

GetAsync(String)
GetAsync(String, CancellationToken)

GetAsync(String)

public:
 virtual System::Threading::Tasks::Task<cli::array <System::Byte> ^> ^ GetAsync(System::String ^ key);
public System.Threading.Tasks.Task<byte[]> GetAsync (string key);
abstract member GetAsync : string -> System.Threading.Tasks.Task<byte[]>
override this.GetAsync : string -> System.Threading.Tasks.Task<byte[]>
Public Function GetAsync (key As String) As Task(Of Byte())

Parameters

key
String

Returns

Task<Byte[]>

Implements

GetAsync(String, CancellationToken)

public System.Threading.Tasks.Task<byte[]> GetAsync (string key, System.Threading.CancellationToken token = null);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
Public Function GetAsync (key As String, Optional token As CancellationToken = null) As Task(Of Byte())

Parameters

key
String

Returns

Task<Byte[]>

Implements

Applies to