public async Task <string> ShowMessageAsync(string message, string[] actions, TraceEventType eventType)
        {
            var parameters = new ShowMessageRequestParams {
                type    = eventType.ToMessageType(),
                message = message,
                actions = actions.Select(a => new MessageActionItem {
                    title = a
                }).ToArray()
            };
            var result = await _clientApp.InvokeWithParameterObjectAsync <MessageActionItem>("window/showMessageRequest", parameters);

            return(result?.title);
        }