Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / December 2004

Tip: Looking for answers? Try searching our database.

OnStartTask in UIP v 2.0

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gwenda - 25 Dec 2004 09:03 GMT
Hi,
I'm using UIPAB v 2.0 in a Windows application. Following the UIP
documentation I'm trying to "nest" two tasks. As I need to pass data between
those two tasks, I;m using the OnStartTask method. This is what the
documentation say about nesting tasks, using that method:
"When the Add New Shipping Address process is ready to return, retrieve the
TaskId for the Purchase Product process, which is stored in the current
task's state, and invoke the OnStartTask method, passing the name of the
navigator, the new address, and the original TaskId. If the task state for
the specified task is found, the current view for that task is displayed."

The problem is that the OnStartTask method requires an Itask implementation
as its third argument and not plainly the TaskId. Should I implement the
ITask just for the sake of resuming a suspended task?

Thanks,
Gwenda
"Jeffrey Tan[MSFT]" - 27 Dec 2004 08:59 GMT
Hi Gwenda,

We have reviewed this post, and will do some research on this issue. We
will reply to you ASAP. Thanks for your understanding.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Signature

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

"Jeffrey Tan[MSFT]" - 28 Dec 2004 02:38 GMT
Hi Gwenda,

Sorry for letting you wait for so long.

Based on my understanding, you want to pass the TaskID to the OnStartTask
method through the third parameter of this method with ITask type. You want
to know if we have to implement this interface ourselves.

Yes, we should implement a ITask ourselves to provide the ability, this is
document in the following "Note":

Note   The task and taskId parameters are required only when you start a
previously suspended task. These parameters are relevant only if you have
implemented the ITask interface to provide the ability to suspend and
restart tasks. For more information about implementing the ITask interface,
see "Implementing the ITask Interface," in Appendix A, "Extending the UIP
Application Block."

Just as the document stated, you should refer to "Implementing the ITask
Interface," in Appendix A, "Extending the UIP Application Block." to get a
guide about how to implement ITask.

Hope this helps.
=======================================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Signature

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.