NativeEventDispatcher Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Coordinates the dispatching of hardware events.
Inheritance Hierarchy
System. . :: . .Object
Microsoft.SPOT.Hardware..::..NativeEventDispatcher
Microsoft.SPOT. . :: . .EventSink
Microsoft.SPOT.Hardware. . :: . .Port
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)
Syntax
'Declaration
Public Class NativeEventDispatcher _
Implements IDisposable
public class NativeEventDispatcher : IDisposable
public ref class NativeEventDispatcher : IDisposable
type NativeEventDispatcher =
class
interface IDisposable
end
public class NativeEventDispatcher implements IDisposable
The NativeEventDispatcher type exposes the following members.
Constructors
Name | Description | |
---|---|---|
NativeEventDispatcher | Initializes a new instance of the NativeEventDispatcher class. |
Top
Methods
Name | Description | |
---|---|---|
DisableInterrupt | Disables the interrupt for this NativeEventDispatcher object. | |
Dispose() () () () | Releases resources used by this NativeEventDispatcher object. | |
Dispose(Boolean) | Releases resources used by this NativeEventDispatcher object. | |
EnableInterrupt | Enables the interrupt for this NativeEventDispatcher object. | |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Performs cleanup operations. (Overrides Object. . :: . .Finalize() () () ().) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
OnInterrupt | Adds or removes callback methods for native events. |
Top
Fields
Name | Description | |
---|---|---|
m_callbacks | The event handler for this NativeEventDispatcher object (a mulitcast combinable delegate). | |
m_disposed | Set to true if this NativeEventDispatcher object has been disposed, or false if not. | |
m_threadSpawn | The event handler for this NativeEventDispatcher object (a mulitcast combinable delegate). |
Top
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.