Inheritance: System.Data.Services.Client.DataServiceContext
 public BingSynonymsContainer(Uri serviceRoot)
     : base(serviceRoot)
 {
     context = new BingSynonymsContainer(serviceRoot);
     context.Credentials = new NetworkCredential("*****@*****.**", "QjWeA6ecBTi9eDH4+O0GRSWhAsFqmo6E/cF+JErDnZg");
 }
Exemple #2
0
 public BingSynonyms()
 {
     serviceUri = new Uri(ROOT_SERVICE_URL);
     context = new BingSynonymsContainer(serviceUri);
     context.IgnoreMissingProperties = true;
     context.Credentials
         = new NetworkCredential(User_ID, SECURE_ACCOUNT_ID);
 }