NSUrlSessionDataDelegate_Extensions.WillCacheResponse 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public static void WillCacheResponse (this Foundation.INSUrlSessionDataDelegate This, Foundation.NSUrlSession session, Foundation.NSUrlSessionDataTask dataTask, Foundation.NSCachedUrlResponse proposedResponse, Action<Foundation.NSCachedUrlResponse> completionHandler);
static member WillCacheResponse : Foundation.INSUrlSessionDataDelegate * Foundation.NSUrlSession * Foundation.NSUrlSessionDataTask * Foundation.NSCachedUrlResponse * Action<Foundation.NSCachedUrlResponse> -> unit
参数
此扩展方法操作的实例。
- session
- NSUrlSession
- dataTask
- NSUrlSessionDataTask
- proposedResponse
- NSCachedUrlResponse
- completionHandler
- Action<NSCachedUrlResponse>