Method | Description | |
---|---|---|
NotificationsMonitor ( |
Initializes a new instance of the NotificationsMonitor class. The real buffer allocated will be bigger, than the bufferSize specified, because every notification should also contain DriverNotificationHeader structure. So we add it to the buffer to make sure it'll be large enough to store both header and data. |
Method | Description | |
---|---|---|
CancelIo ( |
Cancels the pending I/O on the filter port.
|
|
DoWork ( ) : void | ||
GetNextNotification ( |
||
ProcessNotification ( |
public NotificationsMonitor ( |
||
token | Cancellation token. | |
bufferSize | int | The desired size of the buffer used to store notification structures received from the driver into. |
handler | object>.Func | User-defined notification handler. |
filterPortHandle | Driver port handle. | |
completionPortHandle | Driver I/O completion port handle. | |
return | System |