This documentation is archived and is not being maintained.

Activity::RaiseEvent Method

Raises an Event associated with the specified dependency property.

Namespace:  System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

protected public:
void RaiseEvent(
	DependencyProperty^ dependencyEvent, 
	Object^ sender, 
	EventArgs^ e


Type: System.Workflow.ComponentModel::DependencyProperty
The DependencyProperty associated with this Event.
Type: System::Object
The Object source of the Event.
Type: System::EventArgs
The EventArgs associated with the Event.

The following code invokes this method to raise an event that is defined as a DependencyProperty.

This code example is part of the Send E-mail Activity sample and is from the SendEmailActivity.cs file. For more information, seeSend E-mail Activity Sample

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4, 3.5, 3.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.