added samples
[windows-sources.git] / sdk / samples / WFSamples / Technologies / CustomActivities / SimpleActivity / VB / WorkflowConsoleApplication / SendEmailWorkflow.vb
blobee2a9acde76e340315f05d67e3c45d827c5962ab
1 '---------------------------------------------------------------------
2 ' This file is part of the Windows Workflow Foundation SDK Code Samples.
3 '
4 ' Copyright (C) Microsoft Corporation. All rights reserved.
5 '
6 'This source code is intended only as a supplement to Microsoft
7 'Development Tools and/or on-line documentation. See these other
8 'materials for detailed information regarding Microsoft code samples.
9 '
10 'THIS CODE AND INFORMATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY
11 'KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
12 'IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
13 'PARTICULAR PURPOSE.
14 '---------------------------------------------------------------------
16 Imports System
17 Imports System.ComponentModel
18 Imports System.Workflow.Activities
19 Imports Microsoft.VisualBasic
21 Public Class SendEmailWorkflow
22 Inherits SequentialWorkflowActivity
24 Private Sub OnBeforeSend(ByVal sender As System.Object, ByVal e As CustomActivityEventArgs)
25 Console.WriteLine(e.ActivityDescription + ": OnBeforeSend Event Handler - do any pre-processing logic here" + vbLf)
26 End Sub
27 End Class