 = getDispositionAction;
            this.actionIsParallelizable = isParallelizableAction;
            this.actionResult = {
                actionSucceeded: false,
                statusMessage: null
            };
            this.asyncActionPromise = null;
            this.asyncActionPromiseCancelled = false;

            let invalidParameter = null;
            if (null === title) {
                invalidParameter = "title";
            } else if (null === getDispositionAction) {
                invalidParameter = "getDispositionAction";
            } else if (null === asyncAction) {
                invalidParameter = "asyncAction";
            }

            if (invalidParameter !== null) {
                throw this.sessionUtilities.formatMessage(`Invalid value for bootstrapStatusSubcategoryViewModel constructor parameter '${invalidParameter}'.`);
            }
        }

        // bootstrapStatusSubcategoryViewModel interface methods

        getId() {
            return this.id;
        }

        getTitle() {
            return this.title;
        }

        isParallelizableAction() {
            return this.actionIsParallelizable;
        }

        setUiElement(uiElement) {
            this.uiElement = uiElement;
        }

        getUiElement() {
            return this.uiElement;
        }

        getActionResult() {
            return this.actionResult;
        }

        getDisposition() {
            return this.getDispositionAction();
        }

        startActionAsync(progressCallback) {
            return new WinJS.Promise((completeDispatch, errorDispatch, progressDispatch) => {
                // Promise initialization handler

                this.asyncActionPromise = this.asyncAction(progressCallback);
                return this.asyncActionPromise.then((result) => {

                    if (!this.asyncActionPromiseCancelled) {
                        this.actionResult = result;
                        completeDispatch(this.actionResult);
                    }
                });
            },
            () => {
                this.asyncActionPromiseCancelled = true;

                this.actionResult = {
                    actionSucceeded: false,
                    statusMessage: this.resourceStrings["BootstrapPageStatusFailed"]
                };

                this.sessionUtilities.logInfoEvent(`Subcategory status: ${this.getTitle()} is cancelled.`);
                this.asyncActionPromise.cancel();
            });
        }
    }

    return bootstrapStatusSubcategoryViewModel;
});
