Freigeben über


NSUrlCache.StoreCachedResponse Methode

Definition

Überlädt

StoreCachedResponse(NSCachedUrlResponse, NSUrlRequest)
StoreCachedResponse(NSCachedUrlResponse, NSUrlSessionDataTask)

StoreCachedResponse(NSCachedUrlResponse, NSUrlRequest)

[Foundation.Export("storeCachedResponse:forRequest:")]
public virtual void StoreCachedResponse (Foundation.NSCachedUrlResponse cachedResponse, Foundation.NSUrlRequest forRequest);
abstract member StoreCachedResponse : Foundation.NSCachedUrlResponse * Foundation.NSUrlRequest -> unit
override this.StoreCachedResponse : Foundation.NSCachedUrlResponse * Foundation.NSUrlRequest -> unit

Parameter

cachedResponse
NSCachedUrlResponse
forRequest
NSUrlRequest
Attribute

Gilt für:

StoreCachedResponse(NSCachedUrlResponse, NSUrlSessionDataTask)

[Foundation.Export("storeCachedResponse:forDataTask:")]
[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 StoreCachedResponse (Foundation.NSCachedUrlResponse cachedResponse, Foundation.NSUrlSessionDataTask dataTask);
abstract member StoreCachedResponse : Foundation.NSCachedUrlResponse * Foundation.NSUrlSessionDataTask -> unit
override this.StoreCachedResponse : Foundation.NSCachedUrlResponse * Foundation.NSUrlSessionDataTask -> unit

Parameter

cachedResponse
NSCachedUrlResponse
Attribute

Gilt für: