Freigeben über


NSUrlSessionDataDelegate_Extensions.WillCacheResponse Methode

Definition

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

Parameter

This
INSUrlSessionDataDelegate

Die Instanz, auf der diese Erweiterungsmethode ausgeführt wird.

session
NSUrlSession
proposedResponse
NSCachedUrlResponse
completionHandler
Action<NSCachedUrlResponse>

Gilt für: