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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.