NSUrlCache.StoreCachedResponse 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
- cachedResponse
- NSCachedUrlResponse
- forRequest
- NSUrlRequest
- 屬性
適用於
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
參數
- cachedResponse
- NSCachedUrlResponse
- dataTask
- NSUrlSessionDataTask
- 屬性