Click or drag to resize

CadenceClientRegisterDomainAsync Method

Registers a Cadence domain using the specified parameters.

Namespace:  Neon.Cadence
Assembly:  Neon.Cadence (in Neon.Cadence.dll) Version: 2.14.0
public Task RegisterDomainAsync(
	string name,
	string description = null,
	string ownerEmail = null,
	int retentionDays = 7,
	bool ignoreDuplicates = false


Type: SystemString
The domain name.
description (Optional)
Type: SystemString
Optionally specifies a description.
ownerEmail (Optional)
Type: SystemString
Optionally specifies the owner's email address.
retentionDays (Optional)
Type: SystemInt32
Optionally specifies the number of days to retain the history for workflows completed in this domain. This defaults to 7 days and may be as long as 30 days.
ignoreDuplicates (Optional)
Type: SystemBoolean
Optionally ignore duplicate domain registrations. This defaults to false.

Return Value

Type: Task
The tracking Task.
DomainAlreadyExistsExceptionThrown if the domain already exists.
BadRequestExceptionThrown when the request is invalid.
InternalServiceExceptionThrown for internal Cadence cluster problems.
ServiceBusyExceptionThrown when Cadence is too busy.
See Also