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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.