Кэширует ответы на запросы на создание файлов с клиента, чтобы при создании файла того же типа не отправлялся повторно запрос на сервер.
Установите ключ SkipNewFileResponseCachingKey равным true в контексте расширения [!:ICardNewExtensionContext.Info] в методе BeforeRequest(ICardNewExtensionContext), чтобы игнорировать логику этого расширения для запроса.
public sealed class ClientCacheFileResponseNewExtension : CardNewExtensionPublic NotInheritable Class ClientCacheFileResponseNewExtension
Inherits CardNewExtensionpublic ref class ClientCacheFileResponseNewExtension sealed : public CardNewExtension[<SealedAttribute>]
type ClientCacheFileResponseNewExtension =
class
inherit CardNewExtension
end| ClientCacheFileResponseNewExtension | Инициализирует новый экземпляр класса ClientCacheFileResponseNewExtension |
| AfterRequest | (Переопределяет CardNewExtensionAfterRequest(ICardNewExtensionContext)) |
| AfterRequestFinally |
Действие, выполняемое при возникновении исключения или после создания структуры карточки как при успешном, так и при неудачном результате.
Необработанные исключения не прерывают выполнение цепочки расширений.
(Унаследован от CardNewExtension) |
| BeforeRequest | (Переопределяет CardNewExtensionBeforeRequest(ICardNewExtensionContext)) |
| Equals | Determines whether the specified object is equal to the current object. (Унаследован от Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object) |
| GetHashCode | Serves as the default hash function. (Унаследован от Object) |
| GetType | Gets the Type of the current instance. (Унаследован от Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object) |
| ToString | Returns a string that represents the current object. (Унаследован от Object) |