ConnectionStatusChangesHandler Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Delegate for connection status changed.
public delegate void ConnectionStatusChangesHandler(ConnectionStatus status, ConnectionStatusChangeReason reason);
type ConnectionStatusChangesHandler = delegate of ConnectionStatus * ConnectionStatusChangeReason -> unit
Public Delegate Sub ConnectionStatusChangesHandler(status As ConnectionStatus, reason As ConnectionStatusChangeReason)
Parameters
- status
- ConnectionStatus
The updated connection status
- reason
- ConnectionStatusChangeReason
The reason for the connection status change
Remarks
This can be set for both DeviceClient and ModuleClient.