https://learn.microsoft.com/zh-cn/dotnet/api/microsoft.azure.devices.client.moduleclient.setmessagehandlerasync?view=azure-dotnet
ModuleClient.SetMessageHandlerAsync Method (Microsoft.Azure.Devices.Client) - Azure for .NET...
Sets a new default delegate which applies to all endpoints. If a delegate is already associated with the input, it will be called, else the default delegate...
microsoft azuremethoddevicesclient