MonobjcMonobjc Documented Class Library
NSTaskDidTerminateNotification Field
NamespacesMonobjc.FoundationNSTaskNSTaskDidTerminateNotification

Posted when the task has stopped execution. This notification can be posted either when the task has exited normally or as a result of terminate being sent to the NSTask object. If the NSTask object gets released, however, this notification will not get sent, as the port the message would have been sent on was released as part of the task release. The observer method can use terminationStatus to determine why the task died. See “Ending an NSTask” for an example.

The notification object is the NSTask object that was terminated. This notification does not contain a userInfo dictionary.

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static readonly NSString NSTaskDidTerminateNotification
Public Shared ReadOnly NSTaskDidTerminateNotification As NSString
public:
static initonly NSString^ NSTaskDidTerminateNotification
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)