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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET