Community forum

Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Offline keithdavis  
#1 Posted : Monday, March 31, 2014 1:07:42 PM(UTC)
keithdavis

Rank: Paid support

Joined: 6/24/2009(UTC)
Posts: 310
Location: Dallas, TX

Was thanked: 6 time(s) in 6 post(s)
I have been able to modify tasks via the API, but now I'm trying to update Notifications.

This is what I'm doing, but this returns 0 results and I know there are 4:

List<TaskNotificationClass> lNotificationClasses = oNotifications.GetAll();


Also, what is the difference between the VisualCron namespace and the VisualCronAPI namespace?

Edited by moderator Monday, March 31, 2014 8:49:12 PM(UTC)  | Reason: Not specified

Offline Support  
#2 Posted : Monday, March 31, 2014 3:34:16 PM(UTC)
Support

Rank: Official support

Medals:
Joined: 2/23/2008(UTC)
Posts: 9,404

Thanks: 573 times
Was thanked: 326 time(s) in 314 post(s)
Hard to say what is wrong just by that line. I would take a look at the API sample and check values there (once connected).

The difference is that VisualCron.dll holds all global objects and VisualCronAPI.dll holds the connection and methods.
Henrik
Support
http://www.visualcron.com

Please like VisualCron on facebook!
Offline keithdavis  
#3 Posted : Monday, March 31, 2014 6:46:35 PM(UTC)
keithdavis

Rank: Paid support

Joined: 6/24/2009(UTC)
Posts: 310
Location: Dallas, TX

Was thanked: 6 time(s) in 6 post(s)
Ok, so the way I was calling it does not work - I had to use this:

List<TaskNotificationClass> lNotificationClasses = server.Notifications.GetAll();
Offline Support  
#4 Posted : Monday, March 31, 2014 8:48:56 PM(UTC)
Support

Rank: Official support

Medals:
Joined: 2/23/2008(UTC)
Posts: 9,404

Thanks: 573 times
Was thanked: 326 time(s) in 314 post(s)
Ok, glad that you solved it.
Henrik
Support
http://www.visualcron.com

Please like VisualCron on facebook!
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2016, Yet Another Forum.NET
This page was generated in 0.197 seconds.
Scroll to Top