ProviderHostedCustomUIActionsWeb.Models.ContactsListManager.ContactsListManager C# (CSharp) Method

ContactsListManager() public method

public ContactsListManager ( ) : System
return System
        public ContactsListManager()
        {
            var spContext = SharePointContextProvider.Current.GetSharePointContext(HttpContext.Current);
              clientContext = spContext.CreateUserClientContextForSPHost();
              hostWeb = clientContext.Web;
              clientContext.Load(hostWeb);
              clientContext.ExecuteQuery();
        }

Same methods

ContactsListManager::ContactsListManager ( System.Guid ListId ) : System