AzureCosmosDbDeleteIpAddressStatus Method

Deletes a IpAddressStatusDto from the database

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task DeleteIpAddressStatus(
	IpAddressStatusDto ipAddressStatus,
	UserSessionData deletedBy,
	CancellationToken cancellationToken = default
)

Parameters

ipAddressStatus  IpAddressStatusDto
IP Address Status to delete
deletedBy  UserSessionData
User deleting the object
cancellationToken  CancellationToken  (Optional)
Cancellation Token

Return Value

Task
Deletion Task

Implements

IAzureCosmosDbDeleteIpAddressStatus(IpAddressStatusDto, UserSessionData, CancellationToken)

Exceptions

UnauthorizedAccessExceptionThrown if the user deletedBy did not have the correct permissions
ArgumentNullExceptionThrown if ipAddressStatus or deletedBy was

See Also