HandleExternalEventActivity.InvokedEvent parameter sender is null?

Why the parameter "sender" on event Invoked of HandleExternalEventActivity is null?

public partial class Workflow2: StateMachineWorkflowActivity
{
private void handleExternalEventActivity1_Invoked(object sender, ExternalDataEventArgs e)
{
sender = sender; // sender always is null!
}
}

Regards.

Rafael L.

[338 byte] By [RafaelLeonhardt] at [2007-12-23]
# 1
I assume it is because you are passing null when you fire the event. The reason that this is typically null is because your LocalService is usually firing the event (that would be the typical pattern) and typically your LocalService isn't serializable.
JonFlanders at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...

Software Development for Windows Vista

Site Classified