|
89 | 89 | <param name="key">The key to get the stored data for.</param>
|
90 | 90 | <summary>Asynchronously gets a string from the specified cache with the specified key.</summary>
|
91 | 91 | <returns>A task that gets the string value from the stored cache key.</returns>
|
92 |
| - <remarks>To be added.</remarks> |
| 92 | + <remarks>This method stores in the task it returns all non-usage exceptions that the method's synchronous counterpart can throw. If an exception is stored into the returned task, that exception will be thrown when the task is awaited. Usage exceptions, such as <see cref="T:System.ArgumentException" />, are still thrown synchronously. For the stored exceptions, see the exceptions thrown by <see cref="M:Microsoft.Extensions.Caching.Distributed.DistributedCacheExtensions.GetString(Microsoft.Extensions.Caching.Distributed.IDistributedCache,System.String)" />.</remarks> |
93 | 93 | </Docs>
|
94 | 94 | </Member>
|
95 | 95 | <Member MemberName="GetStringAsync">
|
|
131 | 131 | <param name="token">Optional. A <see cref="T:System.Threading.CancellationToken" /> to cancel the operation.</param>
|
132 | 132 | <summary>Asynchronously gets a string from the specified cache with the specified key.</summary>
|
133 | 133 | <returns>A task that gets the string value from the stored cache key.</returns>
|
134 |
| - <remarks>To be added.</remarks> |
| 134 | + <remarks>This method stores in the task it returns all non-usage exceptions that the method's synchronous counterpart can throw. If an exception is stored into the returned task, that exception will be thrown when the task is awaited. Usage exceptions, such as <see cref="T:System.ArgumentException" />, are still thrown synchronously. For the stored exceptions, see the exceptions thrown by <see cref="M:Microsoft.Extensions.Caching.Distributed.DistributedCacheExtensions.GetString(Microsoft.Extensions.Caching.Distributed.IDistributedCache,System.String)" />.</remarks> |
135 | 135 | </Docs>
|
136 | 136 | </Member>
|
137 | 137 | <Member MemberName="Set">
|
|
200 | 200 | <param name="value">The data to store in the cache.</param>
|
201 | 201 | <summary>Asynchronously sets a sequence of bytes in the specified cache with the specified key.</summary>
|
202 | 202 | <returns>A task that represents the asynchronous set operation.</returns>
|
203 |
| - <remarks>To be added.</remarks> |
| 203 | + <remarks>This method stores in the task it returns all non-usage exceptions that the method's synchronous counterpart can throw. If an exception is stored into the returned task, that exception will be thrown when the task is awaited. Usage exceptions, such as <see cref="T:System.ArgumentException" />, are still thrown synchronously. For the stored exceptions, see the exceptions thrown by <see cref="M:Microsoft.Extensions.Caching.Distributed.DistributedCacheExtensions.Set(Microsoft.Extensions.Caching.Distributed.IDistributedCache,System.String,System.Byte[])" />.</remarks> |
204 | 204 | <exception cref="T:System.ArgumentNullException">
|
205 | 205 | <paramref name="key" /> or <paramref name="value" /> is null.</exception>
|
206 | 206 | </Docs>
|
|
239 | 239 | <param name="token">Optional. A <see cref="T:System.Threading.CancellationToken" /> to cancel the operation.</param>
|
240 | 240 | <summary>Asynchronously sets a sequence of bytes in the specified cache with the specified key.</summary>
|
241 | 241 | <returns>A task that represents the asynchronous set operation.</returns>
|
242 |
| - <remarks>To be added.</remarks> |
| 242 | + <remarks>This method stores in the task it returns all non-usage exceptions that the method's synchronous counterpart can throw. If an exception is stored into the returned task, that exception will be thrown when the task is awaited. Usage exceptions, such as <see cref="T:System.ArgumentException" />, are still thrown synchronously. For the stored exceptions, see the exceptions thrown by <see cref="M:Microsoft.Extensions.Caching.Distributed.DistributedCacheExtensions.Set(Microsoft.Extensions.Caching.Distributed.IDistributedCache,System.String,System.Byte[])" />.</remarks> |
243 | 243 | <exception cref="T:System.ArgumentNullException">
|
244 | 244 | <paramref name="key" /> or <paramref name="value" /> is null.</exception>
|
245 | 245 | </Docs>
|
|
351 | 351 | <param name="value">The data to store in the cache.</param>
|
352 | 352 | <summary>Asynchronously sets a string in the specified cache with the specified key.</summary>
|
353 | 353 | <returns>A task that represents the asynchronous set operation.</returns>
|
354 |
| - <remarks>To be added.</remarks> |
| 354 | + <remarks>This method stores in the task it returns all non-usage exceptions that the method's synchronous counterpart can throw. If an exception is stored into the returned task, that exception will be thrown when the task is awaited. Usage exceptions, such as <see cref="T:System.ArgumentException" />, are still thrown synchronously. For the stored exceptions, see the exceptions thrown by <see cref="M:Microsoft.Extensions.Caching.Distributed.DistributedCacheExtensions.SetString(Microsoft.Extensions.Caching.Distributed.IDistributedCache,System.String,System.String)" />.</remarks> |
355 | 355 | <exception cref="T:System.ArgumentNullException">
|
356 | 356 | <paramref name="key" /> or <paramref name="value" /> is null.</exception>
|
357 | 357 | </Docs>
|
|
385 | 385 | <param name="options">The cache options for the entry.</param>
|
386 | 386 | <summary>Asynchronously sets a string in the specified cache with the specified key.</summary>
|
387 | 387 | <returns>A task that represents the asynchronous set operation.</returns>
|
388 |
| - <remarks>To be added.</remarks> |
| 388 | + <remarks>This method stores in the task it returns all non-usage exceptions that the method's synchronous counterpart can throw. If an exception is stored into the returned task, that exception will be thrown when the task is awaited. Usage exceptions, such as <see cref="T:System.ArgumentException" />, are still thrown synchronously. For the stored exceptions, see the exceptions thrown by <see cref="M:Microsoft.Extensions.Caching.Distributed.DistributedCacheExtensions.SetString(Microsoft.Extensions.Caching.Distributed.IDistributedCache,System.String,System.String,Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions)" />.</remarks> |
389 | 389 | <exception cref="T:System.ArgumentNullException">
|
390 | 390 | <paramref name="key" /> or <paramref name="value" /> is null.</exception>
|
391 | 391 | </Docs>
|
|
424 | 424 | <param name="token">Optional. A <see cref="T:System.Threading.CancellationToken" /> to cancel the operation.</param>
|
425 | 425 | <summary>Asynchronously sets a string in the specified cache with the specified key.</summary>
|
426 | 426 | <returns>A task that represents the asynchronous set operation.</returns>
|
427 |
| - <remarks>To be added.</remarks> |
| 427 | + <remarks>This method stores in the task it returns all non-usage exceptions that the method's synchronous counterpart can throw. If an exception is stored into the returned task, that exception will be thrown when the task is awaited. Usage exceptions, such as <see cref="T:System.ArgumentException" />, are still thrown synchronously. For the stored exceptions, see the exceptions thrown by <see cref="M:Microsoft.Extensions.Caching.Distributed.DistributedCacheExtensions.SetString(Microsoft.Extensions.Caching.Distributed.IDistributedCache,System.String,System.String)" />.</remarks> |
428 | 428 | <exception cref="T:System.ArgumentNullException">
|
429 | 429 | <paramref name="key" /> or <paramref name="value" /> is null.</exception>
|
430 | 430 | </Docs>
|
|
465 | 465 | <param name="token">Optional. A <see cref="T:System.Threading.CancellationToken" /> to cancel the operation.</param>
|
466 | 466 | <summary>Asynchronously sets a string in the specified cache with the specified key.</summary>
|
467 | 467 | <returns>A task that represents the asynchronous set operation.</returns>
|
468 |
| - <remarks>To be added.</remarks> |
| 468 | + <remarks>This method stores in the task it returns all non-usage exceptions that the method's synchronous counterpart can throw. If an exception is stored into the returned task, that exception will be thrown when the task is awaited. Usage exceptions, such as <see cref="T:System.ArgumentException" />, are still thrown synchronously. For the stored exceptions, see the exceptions thrown by <see cref="M:Microsoft.Extensions.Caching.Distributed.DistributedCacheExtensions.SetString(Microsoft.Extensions.Caching.Distributed.IDistributedCache,System.String,System.String,Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions)" />.</remarks> |
469 | 469 | <exception cref="T:System.ArgumentNullException">
|
470 | 470 | <paramref name="key" /> or <paramref name="value" /> is null.</exception>
|
471 | 471 | </Docs>
|
|
0 commit comments