Share via


NSTask.Notifications Class

Definition

Notifications posted by the NSTask class.

public static class NSTask.Notifications
type NSTask.Notifications = class
Inheritance
NSTask.Notifications

Remarks

This class contains various helper methods that allow developers to observe events posted in the notification hub (NSNotificationCenter).

The methods defined in this class post events that invoke the provided method or lambda with a NSNotificationEventArgs parameter, which contains strongly typed properties for the notification arguments.

Methods

Name Description
ObserveDidTerminate(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidTerminateNotification constant.

ObserveDidTerminate(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidTerminateNotification constant.

Applies to