Bewerken

Delen via


IActivityEventListener<T>.OnEvent(Object, T) Method

Definition

Defines the processing procedure when the subscribed-to event occurs.

public:
 void OnEvent(System::Object ^ sender, T e);
public void OnEvent (object sender, T e);
abstract member OnEvent : obj * 'T -> unit
Public Sub OnEvent (sender As Object, e As T)

Parameters

sender
Object

The object that raised the event.

e
T

The previously typed event arguments.

Applies to