我已经在内部运行了 CUSTOM 的azure混合连接侦听器服务,并使用了MSDN建议的以下提到的代码,但是当内部INTERNET 的连接中断时,侦听器没有重新建立。 / p>
内部INTERNET 被中断
时,只有十分之一,使用以下代码重新建立了侦听器// Opening the listener establishes the control channel to
// the Azure Relay service. The control channel is continuously
// maintained, and is reestablished when connectivity is disrupted
await listener.OpenAsync(cts.Token);
//Below delegate not getting called when INTERNET plugged off from
//listener running machine
listener.Offline += listener_Offline;
要在10次中有10次重新建立与天蓝色混合连接的侦听器,需要进行哪些更改?请指教。