public GetVideoAsync ( string videoId, string email, string videoRandname, string Interface, int showComments ) : Task | ||
videoId | string | |
string | ||
videoRandname | string | |
Interface | string | |
showComments | int | |
return | Task |
private async void BtGetVideoClick(object sender, RoutedEventArgs e) { App app = Application.Current as App; if (app == null) return; var client = new VideosServiceClient(app.EsbUsername, app.EsbPassword, app.EsbAccessKey); Video v = await client.GetVideoAsync(null, null, this.tb_VideoRandnameForGetVideo.Text, null, 0); this.tblock_Result.Text = String.Format("Randname: {0}\nTitle: {1}\nSynopse: {2}\nURI: {3}", v.Randname, v.Title, v.Synopse, v.URL); }