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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET