IAzureCosmosDbUpdateOrCreateCustomPage Method

Creates an CustomPageDto in the database

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task UpdateOrCreateCustomPage(
	CustomPageDto customPage,
	UserSessionData createdBy,
	CancellationToken cancellationToken = default
)

Parameters

customPage  CustomPageDto
Original CustomPageDto
createdBy  UserSessionData
User creating the environment
cancellationToken  CancellationToken  (Optional)
Cancellation token (optional)

Return Value

Task
Cosmos DB Object-creation Task

Exceptions

ArgumentNullExceptionThrown if customPage or createdBy are
ResourceInvalidStateExceptionThrown if customPage is in an invalid state.

See Also