async void SetLongList(object sender, RoutedEventArgs e) { var ls = await AtTest.SetLongList(new List <long>() { 1, 2, 3, 4 }); _tbInfo.Text = ls.Count == 4 ? "调用成功!" : "调用不成功!"; }