AddEventProcessor Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Adds an event processing routine.
Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)
Syntax
'Declaration
Public Shared Sub AddEventProcessor ( _
eventCategory As EventCategory, _
eventProcessor As IEventProcessor _
)
public static void AddEventProcessor(
EventCategory eventCategory,
IEventProcessor eventProcessor
)
public:
static void AddEventProcessor(
EventCategory eventCategory,
IEventProcessor^ eventProcessor
)
static member AddEventProcessor :
eventCategory:EventCategory *
eventProcessor:IEventProcessor -> unit
public static function AddEventProcessor(
eventCategory : EventCategory,
eventProcessor : IEventProcessor
)
Parameters
- eventCategory
Type: Microsoft.SPOT. . :: . .EventCategory
Selects the event category.
- eventProcessor
Type: Microsoft.SPOT. . :: . .IEventProcessor
Specifies the event processor.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.