NSUrlSessionDataDelegate_Extensions.WillCacheResponse 方法

定义

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

参数

This
INSUrlSessionDataDelegate

此扩展方法操作的实例。

session
NSUrlSession
proposedResponse
NSCachedUrlResponse
completionHandler
Action<NSCachedUrlResponse>

适用于