SqlServerCache.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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.