Table of Contents

Delegate SwarmTile.PowerStateChangedHandler

Namespace
Iot.Device.Swarm
Assembly
Iot.Device.Swarm.dll

Represents the delegate used for the PowerStateChanged event.

public delegate void SwarmTile.PowerStateChangedHandler(PowerState powerState)

Parameters

powerState PowerState

New power status of the device.

Constructors

PowerStateChangedHandler(object, IntPtr)

public PowerStateChangedHandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(PowerState, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(PowerState powerState, AsyncCallback callback, object @object)

Parameters

powerState PowerState
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(PowerState)

public virtual void Invoke(PowerState powerState)

Parameters

powerState PowerState