NSCoder.Fail(NSError) 方法

定义

[Foundation.Export("failWithError:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void Fail (Foundation.NSError error);
abstract member Fail : Foundation.NSError -> unit
override this.Fail : Foundation.NSError -> unit

参数

error
NSError
属性

适用于