Click or drag to resize
ICoreApiAddServiceAsync Method
Add service for current user asynchronously. If operation fails exception will be thrown.

Namespace: Atomia.Provisioning.Service
Assembly: Atomia.Provisioning.Service (in Atomia.Provisioning.Service.dll) Version: 17.3.6337.16014
Syntax
ProvisioningService AddServiceAsync(
	ProvisioningService service,
	ProvisioningService parentService,
	string accountName,
	ResourceRequestDescription[] resourceRequestDescriptions,
	ref string requestId
)

Parameters

service
Type: Atomia.Provisioning.BaseProvisioningService
Service to add.
parentService
Type: Atomia.Provisioning.BaseProvisioningService
Parent service or null if service is root service.
accountName
Type: SystemString
Account name - owner of the service.
resourceRequestDescriptions
Type: Atomia.Provisioning.BaseResourceRequestDescription
Additional data which helps provisioning system to decide on which resource should service be added. If operation fails exception will be thrown.
requestId
Type: SystemString
Provisioning request id.

Return Value

Type: ProvisioningService
Service which has been added.
See Also