Cuemon .NET Framework
Raise<TEventArgs> Method

The type of the event data generated by the event.
The method that will handle the event.
The source of the event.
An System.EventArgs that contains the event data.
A generic helper method method for raising an event.
Syntax
'Declaration
 
Public Shared Sub Raise(Of TEventArgs As EventArgs)( _
   ByVal handler As EventHandler(Of TEventArgs), _
   ByVal sender As Object, _
   ByVal e As TEventArgs _
) 
public static void Raise<TEventArgs>( 
   EventHandler<TEventArgs> handler,
   object sender,
   TEventArgs e
)
where TEventArgs: EventArgs

Parameters

handler
The method that will handle the event.
sender
The source of the event.
e
An System.EventArgs that contains the event data.

Type Parameters

TEventArgs
The type of the event data generated by the event.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EventUtility Class
EventUtility Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback