Sample Download :
CS Version: http://code.msdn.microsoft.com/CSSharePointAlertTask-1689bd6f
VB Version: http://code.msdn.microsoft.com/VBSharePointAlertTask-ed8b5203
This sample code will demo how to deal with a workflow task by using AlertTask method. In real scenario, customers often need to deal with their workflow task outside SharePoint, so they need to use AlertTask method. But we found that there is little information about this method and some developers still misunderstood the way to work with workflow task. Often, they made mistakes by directly update the workflow task in a normal way which we will use to update list item. Therefore we provide this sample code to show how to deal with workflow task correctly.
You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized place, and automatically be notified about sample updates. If it is the first time that you hear about Microsoft All-In-One Code Framework, please watch the introduction video on Microsoft Showcase, or read the introduction on our homepage http://1code.codeplex.com/.