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
属性

适用于