Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public MainPage()
- {
- InitializeComponent();
- Task.Factory.StartNew(() =>
- {
- var context = new Microsoft.SharePoint.Client.ClientContext("http://test_sp/");
- context.Load(context.Web);
- context.ExecuteQuery();
- Dispatcher.BeginInvoke(() =>
- {
- MessageBox.Show(context.Web.Title);
- });
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement