IAzureCosmosDbDeleteNotification Method

Deletes a NotificationDto from the database

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task DeleteNotification(
	NotificationDto notification,
	UserSessionData currentUser,
	CancellationToken cancellationToken = default
)

Parameters

notification  NotificationDto
Message to delete
currentUser  UserSessionData
Current user deleting the notification
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

Task
Task completion

Exceptions

ArgumentNullExceptionThrown if notification or currentUser is .

See Also