IOutputCacheBufferStore.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.
public System.Threading.Tasks.ValueTask SetAsync (string key, System.Buffers.ReadOnlySequence<byte> value, ReadOnlyMemory<string> tags, TimeSpan validFor, System.Threading.CancellationToken cancellationToken);
abstract member SetAsync : string * System.Buffers.ReadOnlySequence<byte> * ReadOnlyMemory<string> * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Public Function SetAsync (key As String, value As ReadOnlySequence(Of Byte), tags As ReadOnlyMemory(Of String), validFor As TimeSpan, cancellationToken As CancellationToken) As ValueTask
Parameters
- key
- String
- value
- ReadOnlySequence<Byte>
- tags
- ReadOnlyMemory<String>
- validFor
- TimeSpan
- cancellationToken
- CancellationToken
Returns
Applies to
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по