RedisCache.IBufferDistributedCache.TryGetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
virtual System::Threading::Tasks::ValueTask<bool> Microsoft.Extensions.Caching.Distributed.IBufferDistributedCache.TryGetAsync(System::String ^ key, System::Buffers::IBufferWriter<System::Byte> ^ destination, System::Threading::CancellationToken token) = Microsoft::Extensions::Caching::Distributed::IBufferDistributedCache::TryGetAsync;
System.Threading.Tasks.ValueTask<bool> IBufferDistributedCache.TryGetAsync (string key, System.Buffers.IBufferWriter<byte> destination, System.Threading.CancellationToken token);
abstract member Microsoft.Extensions.Caching.Distributed.IBufferDistributedCache.TryGetAsync : string * System.Buffers.IBufferWriter<byte> * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<bool>
override this.Microsoft.Extensions.Caching.Distributed.IBufferDistributedCache.TryGetAsync : string * System.Buffers.IBufferWriter<byte> * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<bool>
Function TryGetAsync (key As String, destination As IBufferWriter(Of Byte), token As CancellationToken) As ValueTask(Of Boolean) Implements IBufferDistributedCache.TryGetAsync
Parameters
- key
- String
- destination
- IBufferWriter<Byte>
- token
- CancellationToken
Returns
Implements
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.