SideShowGadget.PostEvent Generic Method
A helper method used by derived types that asynchronously raises an event on the application's desired thread.
Namespace: Microsoft.SideShow
Assembly: Microsoft.SideShow (in microsoft.sideshow.dll)
Usage
Syntax
'Declaration
Protected Sub PostEvent(Of T As EventArgs) ( _
callback As EventRaiser(Of T), _
e As T _
)
protected void PostEvent<T> (
EventRaiser<T> callback,
T e
) where T : EventArgs
protected:
generic<typename T> where T : EventArgs
void PostEvent (
EventRaiser<T>^ callback,
T e
)
Parameters
- callback
The protected virtual method that will raise the event.
- e
The EventArgs object that should be passed to the protected virtual method raising the event.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista Home Premium, Windows Vista Business, Windows Vista Enterprise, Windows Vista Ultimate
Target Platforms
Windows Vista Home Premium, Windows Vista Business, Windows Vista Enterprise, Windows Vista Ultimate
See Also
Reference
SideShowGadget Class
SideShowGadget Members
Microsoft.SideShow Namespace