IAzureCosmosDbLogException Method

Logs an exception

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task LogException(
	EventId exceptionEvent,
	Exception exception
)

Parameters

exceptionEvent  EventId
EventId of the Exception
exception  Exception
Exception that occurred.

Return Value

Task
Log creation Task

Remarks

No cancellation token is provided, as cancellation tokens are often cancelled during error handling, and we need to ensure the exception is logged regardless of the cancellation token state.

See Also