ISubscriptionManagerTransferSubscriptions Method |
[This is preliminary documentation and is subject to change.]
Namespace: Netadmin.Management.Provisioning
void TransferSubscriptions( IReadOnlyDictionary<long, IReadOnlyCollection<long>> customersAndSubscriptionIds )
Exception | Condition |
---|---|
ArgumentNullException | Thrown if subscriptionIds is null |
ArgumentException | Thrown if a subscriptionId is present for multiple customers |
InvalidIdentifierException | Thrown if any subscriptionId or customerId is zero or less |
ObjectNotFoundException | Thrown if any subscription or the customer does not exist |
InvalidOperationException | Thrown if subscriptions does not all belong to the same address |
InvalidOperationException | Thrown if any subscription already belongs to the customer |
InvalidOperationException | Thrown if a subscription does not have a customer |
InvalidOperationException | Thrown if the service of a subscription is an address service |
InvalidOperationException | Thrown if the customer does not belong to the address |
SubscriptionHasUnfinishedJobsException | Thrown if a subscription has unfinished jobs |
SubscriptionHasInvalidStatusException | Thrown if a subscription has invalid status |
SubscriptionReferenceException | Thrown if a subscription is an add-on to subscription that is not being transferred |
SubscriptionAddonException | Thrown if a subscription is has add-on subscriptions that is not being transferred |