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