共用方式為


AVAssetDownloadDelegate.DidCompleteWithError 方法

定義

如果會話中的工作完成併發生錯誤,就會呼叫的方法。

[Foundation.Export("URLSession:task:didCompleteWithError:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidCompleteWithError (Foundation.NSUrlSession session, Foundation.NSUrlSessionTask task, Foundation.NSError error);
abstract member DidCompleteWithError : Foundation.NSUrlSession * Foundation.NSUrlSessionTask * Foundation.NSError -> unit
override this.DidCompleteWithError : Foundation.NSUrlSession * Foundation.NSUrlSessionTask * Foundation.NSError -> unit

參數

session
NSUrlSession
error
NSError
屬性

適用於