AzureCosmosDbDeleteNotification Method

Deletes a NotificationDto from the database

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public 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

Implements

IAzureCosmosDbDeleteNotification(NotificationDto, UserSessionData, CancellationToken)

Exceptions

ArgumentNullExceptionThrown if notification or currentUser is .

See Also