Activity::RaiseEvent Method (DependencyProperty^, Object^, EventArgs^)
.NET Framework (current version)
Raises an Event associated with the specified dependency property.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
public protected: void RaiseEvent( DependencyProperty^ dependencyEvent, Object^ sender, EventArgs^ e )
Parameters
- dependencyEvent
-
Type:
System.Workflow.ComponentModel::DependencyProperty^
The DependencyProperty associated with this Event.
- sender
- Type: System::Object^
- e
- Type: System::EventArgs^
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
.NET Framework
Available since 3.0
Available since 3.0
Show: