IAzureCosmosDbGetConnectorStateByAlertTypeId Method

Gets the connector state for a specific alert type.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<ConnectorStateDto?> GetConnectorStateByAlertTypeId(
	Guid companyId,
	Guid alertTypeId,
	CancellationToken cancellationToken = default
)

Parameters

companyId  Guid
ID of the CompanyDto the alert type belongs to.
alertTypeId  Guid
The ID of the alert type.
cancellationToken  CancellationToken  (Optional)
Cancellation token.

Return Value

TaskConnectorStateDto
A ConnectorStateDto, or if none was found.

See Also