次の方法で共有


SqlServerCache.IBufferDistributedCache.TryGetAsync Method

Definition

 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>

Returns

Implements

Applies to