Notification Class
Represents a notification subscription for file system events.
public sealed class NotificationConstructors
| Name | Description |
|---|---|
| Notification(PRJ_NOTIFY_TYPES) | Initializes a new instance of the Notification class for all paths. |
| Notification(string?, PRJ_NOTIFY_TYPES) | Initializes a new instance of the Notification class for a specific path. |
Notification overloads
Notification(PRJ_NOTIFY_TYPES)
Notification.csInitializes a new instance of the Notification class for all paths.
public Notification(PRJ_NOTIFY_TYPES notificationType)Parameters
notificationTypePRJ_NOTIFY_TYPES- The types of notifications to receive.
Notification(string?, PRJ_NOTIFY_TYPES)
Notification.csInitializes a new instance of the Notification class for a specific path.
public Notification(string? path, PRJ_NOTIFY_TYPES notificationType)Parameters
pathstring?- The path to receive notifications for, or
nullfor all paths. notificationTypePRJ_NOTIFY_TYPES- The types of notifications to receive.
Properties
| Name | Description |
|---|---|
| NotificationType | Gets the types of notifications to receive. |
| Path | Gets the path to receive notifications for, or null for all paths. |
NotificationType
Notification.csGets the types of notifications to receive.
public PRJ_NOTIFY_TYPES NotificationType { get; }