Exemplo n.º 1
0
        void CreateError(string errorStr)
        {
            StreamerObjectErrorEventArgs error = new StreamerObjectErrorEventArgs();

            error.ErrorString = errorStr;
            StreamerObjectErrorEvent(this, error);
        }
Exemplo n.º 2
0
        async void streamerObject_StreamerObjectErrorEvent(object source, StreamerObjectErrorEventArgs e)
        {
            MessageDialog errorMessage = new MessageDialog("Uh...something went wrong...\nDetailed info: " + e.ErrorString);
            await errorMessage.ShowAsync();

            Frame.GoBack();
        }
Exemplo n.º 3
0
        async void streamerObject_StreamerObjectErrorEvent(object source, StreamerObjectErrorEventArgs e)
        {
            MessageDialog errorMessage = new MessageDialog("Uh...something went wrong...\nDetailed info: " + e.ErrorString);

            errorMessage.Commands.Add(new UICommand("OK", new UICommandInvokedHandler((command) => { Frame.GoBack(); })));
            await errorMessage.ShowAsync();
        }