private void ClientOnGetHelloDataCompleted(object sender, GetHelloDataCompletedEventArgs getHelloDataCompletedEventArgs) { string msg = null; if (getHelloDataCompletedEventArgs.Error != null) { msg = getHelloDataCompletedEventArgs.Error.Message; } else if (getHelloDataCompletedEventArgs.Cancelled) { msg = "Request was cancelled."; } else { msg = getHelloDataCompletedEventArgs.Result.Name; } RunOnUiThread(() => _getHelloWorldDataTextView.Text = msg); }
private void ClientOnGetHelloDataCompleted(object sender, GetHelloDataCompletedEventArgs getHelloDataCompletedEventArgs) { string msg = null; if (getHelloDataCompletedEventArgs.Error != null) { msg = getHelloDataCompletedEventArgs.Error.Message; } else if (getHelloDataCompletedEventArgs.Cancelled) { msg = "Request was cancelled."; } else { msg = getHelloDataCompletedEventArgs.Result.Name; } RunOnUiThread(() => _getHelloWorldDataTextView.Text = msg); }
private void ClientOnGetHelloDataCompleted(object sender, GetHelloDataCompletedEventArgs e) { string msg = null; if (e.Error != null) { msg = e.Error.Message; } else if (e.Cancelled) { msg = "Request was cancelled."; } else { msg = e.Result.Name; } InvokeOnMainThread(() => getHelloWorldDataText.Text = msg); }
private void ClientOnGetHelloDataCompleted(object sender, GetHelloDataCompletedEventArgs e) { string msg = null; if (e.Error != null) { msg = e.Error.Message; } else if (e.Cancelled) { msg = "Request was cancelled."; } else { msg = e.Result.Name; } InvokeOnMainThread(() => getHelloWorldDataText.Text = msg); }