Activity::RaiseEvent Method (DependencyProperty^, Object^, EventArgs^)

 

Raises an Event associated with the specified dependency property.

Namespace:   System.Workflow.ComponentModel
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^

The Object source of the Event.

e
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
Available since 3.0
Return to top
Show: