Share via


NSFileHandle.Notifications Class

Definition

Notifications posted by the NSFileHandle class.

public static class NSFileHandle.Notifications
type NSFileHandle.Notifications = class
Inheritance
NSFileHandle.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
ObserveConnectionAccepted(EventHandler<NSFileHandleConnectionAcceptedEventArgs>)

Strongly typed notification for the ConnectionAcceptedNotification constant.

ObserveConnectionAccepted(NSObject, EventHandler<NSFileHandleConnectionAcceptedEventArgs>)

Strongly typed notification for the ConnectionAcceptedNotification constant.

ObserveDataAvailable(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DataAvailableNotification constant.

ObserveDataAvailable(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DataAvailableNotification constant.

ObserveReadCompletion(EventHandler<NSFileHandleReadEventArgs>)

Strongly typed notification for the ReadCompletionNotification constant.

ObserveReadCompletion(NSObject, EventHandler<NSFileHandleReadEventArgs>)

Strongly typed notification for the ReadCompletionNotification constant.

ObserveReadToEndOfFileCompletion(EventHandler<NSFileHandleReadEventArgs>)

Strongly typed notification for the ReadToEndOfFileCompletionNotification constant.

ObserveReadToEndOfFileCompletion(NSObject, EventHandler<NSFileHandleReadEventArgs>)

Strongly typed notification for the ReadToEndOfFileCompletionNotification constant.

Applies to