NSViewController.PresentError 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
PresentError(NSError) | |
PresentError(NSError, NSWindow, NSObject, Selector, IntPtr) |
PresentError(NSError)
[Foundation.Export("presentError:")]
public virtual bool PresentError (Foundation.NSError error);
override this.PresentError : Foundation.NSError -> bool
参数
- error
- NSError
返回
- 属性
适用于
PresentError(NSError, NSWindow, NSObject, Selector, IntPtr)
public void PresentError (Foundation.NSError error, AppKit.NSWindow window, Foundation.NSObject delegate, ObjCRuntime.Selector didPresentSelector, IntPtr contextInfo);
override this.PresentError : Foundation.NSError * AppKit.NSWindow * Foundation.NSObject * ObjCRuntime.Selector * nativeint -> unit
参数
- error
- NSError
- window
- NSWindow
- delegate
- NSObject
- didPresentSelector
- Selector
- contextInfo
-
IntPtr
nativeint