NSUrlCache.GetCachedResponse Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
[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
Параметры
- dataTask
- NSUrlSessionDataTask
- completionHandler
- Action<NSCachedUrlResponse>
- Атрибуты