MobileTrack Nexus Documentation
C#
Show/Hide TOC
IAzure
Cosmos
Db
Log
Exception Method
Logs an exception
Definition
Namespace:
MobileTrack.DataContainers.Cosmos
Assembly:
MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
C#
Copy
Request Example
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
Reference
IAzureCosmosDb Interface
MobileTrack.DataContainers.Cosmos Namespace
In This Article
Definition
Parameters
Return Value
Remarks
See Also