RedisCache.IBufferDistributedCache.SetAsync 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 Microsoft.Extensions.Caching.Distributed.IBufferDistributedCache.SetAsync(System::String ^ key, System::Buffers::ReadOnlySequence<System::Byte> value, Microsoft::Extensions::Caching::Distributed::DistributedCacheEntryOptions ^ options, System::Threading::CancellationToken token) = Microsoft::Extensions::Caching::Distributed::IBufferDistributedCache::SetAsync;
System.Threading.Tasks.ValueTask IBufferDistributedCache.SetAsync (string key, System.Buffers.ReadOnlySequence<byte> value, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options, System.Threading.CancellationToken token);
abstract member Microsoft.Extensions.Caching.Distributed.IBufferDistributedCache.SetAsync : string * System.Buffers.ReadOnlySequence<byte> * Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
override this.Microsoft.Extensions.Caching.Distributed.IBufferDistributedCache.SetAsync : string * System.Buffers.ReadOnlySequence<byte> * Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Function SetAsync (key As String, value As ReadOnlySequence(Of Byte), options As DistributedCacheEntryOptions, token As CancellationToken) As ValueTask Implements IBufferDistributedCache.SetAsync
Parameters
- key
- String
- value
- ReadOnlySequence<Byte>
- options
- DistributedCacheEntryOptions
- token
- CancellationToken
Returns
Implements
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.