RaiseEvent(TEventArg) Method
Raises a generic event with a specific event argument type.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Protected Sub RaiseEvent(Of TEventArg As EventArgs) ( _
handler As EventHandler(Of TEventArg), _
sender As Object, _
e As TEventArg _
)
'Usage
Dim handler As EventHandler(Of TEventArg)
Dim sender As Object
Dim e As TEventArg
Me.RaiseEvent(handler, sender, e)
protected void RaiseEvent<TEventArg>(
EventHandler<TEventArg> handler,
Object sender,
TEventArg e
)
where TEventArg : EventArgs
Type Parameters
- TEventArg
Parameters
- handler
Type: System..::..EventHandler<(Of <(<'TEventArg>)>)>
- sender
Type: System..::..Object
- e
Type: TEventArg