Freigeben über


NSUrlCache.GetCachedResponse Methode

Definition

[Foundation.Export("getCachedResponseForDataTask:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void GetCachedResponse (Foundation.NSUrlSessionDataTask dataTask, Action<Foundation.NSCachedUrlResponse> completionHandler);
abstract member GetCachedResponse : Foundation.NSUrlSessionDataTask * Action<Foundation.NSCachedUrlResponse> -> unit
override this.GetCachedResponse : Foundation.NSUrlSessionDataTask * Action<Foundation.NSCachedUrlResponse> -> unit

Parameter

completionHandler
Action<NSCachedUrlResponse>
Attribute

Gilt für: