OnEvent Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Processes known events, and forwards unrecognized ones as generic events.

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Function OnEvent ( _
    ev As BaseEvent _
) As Boolean
public bool OnEvent(
    BaseEvent ev
)
public:
virtual bool OnEvent(
    BaseEvent^ ev
) sealed
abstract OnEvent : 
        ev:BaseEvent -> bool 
override OnEvent : 
        ev:BaseEvent -> bool 
public final function OnEvent(
    ev : BaseEvent
) : boolean

Parameters

Return Value

Type: System. . :: . .Boolean
true

Implements

IEventListener. . :: . .OnEvent(BaseEvent)

.NET Framework Security

See Also

Reference

Application Class

Microsoft.SPOT Namespace