SqlServerCache.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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.