AzureCosmosDbDeleteFourEyesRequestNotification Method

Remove a four-eyes request notification from the database

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task DeleteFourEyesRequestNotification(
	UserSessionData currentUser,
	IIdLabel resource,
	ResourceAction action,
	CancellationToken cancellationToken = default
)

Parameters

currentUser  UserSessionData
AccountDto for whom the notification was made
resource  IIdLabel
IIdLabel object
action  ResourceAction
ResourceAction enum
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

Task
Task completion

Implements

IAzureCosmosDbDeleteFourEyesRequestNotification(UserSessionData, IIdLabel, ResourceAction, CancellationToken)

Exceptions

ArgumentNullExceptionThrown if resource or currentUser is .
ArgumentExceptionThrown if action is IsEmpty(T).

See Also