azure - Microsoft.WindowsAzure.MobileServices in COM -
i created library interacting windowsazure.mobileservices
[progid("mypush.clientlib")] [classinterface(classinterfacetype.autodual)] [guid("********-****-****-****-************")] [comvisible(true)] public class clientlib { private static mobileserviceclient mobileservice; private imobileservicetable<todoitem> todotable; public clientlib() { /* mobileservice = new mobileserviceclient( "https://galpush.azure-mobile.net/", "*******************************"); todotable = mobileservice.gettable<todoitem>(); */ }
i used regasm register library when try init new mobileserviceclient have error 80070002
make sure deploy references library:
- newtonsoft.json (≥ 5.0.8)
- microsoft.bcl (≥ 1.1.3)
- microsoft.net.http (≥ 2.2.15)
Comments
Post a Comment