/// <summary> /// Delete a previously registerd notification /// </summary> /// <param name="notificationHandle">The handle returned by AddNotification</param> /// <returns></returns> public void DeleteNotification(uint notificationHandle) { var adsCommand = new AdsDeleteDeviceNotificationCommand(notificationHandle); var result = adsCommand.Run(this.ams); }
/// <summary> /// Delete a previously registerd notification /// </summary> /// <param name="notificationHandle">The handle returned by AddNotification(Async)</param> /// <returns></returns> public Task DeleteNotificationAsync(uint notificationHandle) { var adsCommand = new AdsDeleteDeviceNotificationCommand(notificationHandle); return(adsCommand.RunAsync(this.ams)); }