Поделиться через


NSUrlSessionDataDelegate.WillCacheResponse Метод

Определение

[Foundation.Export("URLSession:dataTask:willCacheResponse:completionHandler:")]
public virtual void WillCacheResponse (Foundation.NSUrlSession session, Foundation.NSUrlSessionDataTask dataTask, Foundation.NSCachedUrlResponse proposedResponse, Action<Foundation.NSCachedUrlResponse> completionHandler);
abstract member WillCacheResponse : Foundation.NSUrlSession * Foundation.NSUrlSessionDataTask * Foundation.NSCachedUrlResponse * Action<Foundation.NSCachedUrlResponse> -> unit
override this.WillCacheResponse : Foundation.NSUrlSession * Foundation.NSUrlSessionDataTask * Foundation.NSCachedUrlResponse * Action<Foundation.NSCachedUrlResponse> -> unit

Параметры

session
NSUrlSession
proposedResponse
NSCachedUrlResponse
completionHandler
Action<NSCachedUrlResponse>
Атрибуты

Применяется к