Share via


OnEvent Method

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

Handles generic events.

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.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 if the event was processed; otherwise, false.

Implements

IEventListener. . :: . .OnEvent(BaseEvent)

.NET Framework Security

See Also

Reference

LargeBufferMarshaller Class

Microsoft.SPOT.Hardware Namespace