async void SetMsgInfo(object sender, RoutedEventArgs e) { var result = await AtTest.SetMsgInfo(new MsgInfo { Title = "abc", Content = "message" }); _tbInfo.Text = result != null ? "调用成功!" : "调用不成功!"; }
async void SetMsgInfo(object sender, RoutedEventArgs e) { var result = await AtTest.SetMsgInfo(new MsgInfo { Title = "abc", Content = "message" }); _tbInfo.Text = result != null ? "调用成功!" : "调用不成功!"; }