Developing Bots with Microsoft Bots Framework by Srikanth Machiraju & Ritesh Modi

Developing Bots with Microsoft Bots Framework by Srikanth Machiraju & Ritesh Modi

Author:Srikanth Machiraju & Ritesh Modi
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


And, finally, you unregister the event handlers in the Dispose method :

public void Dispose()

{

if (CallingBotService != null)

{

CallingBotService.OnIncomingCallReceived -= OnIncomingCallReceived;

CallingBotService.OnPlayPromptCompleted -= OnPlayPromptCompleted;

CallingBotService.OnRecordCompleted -= OnRecordCompletedAsync;

CallingBotService.OnRecognizeCompleted -= OnRecognizeCompleted;

CallingBotService.OnHangupCompleted -= OnHangupCompleted;

}

}

The other pieces of the code, like logging events to Application Insights and Azure blob/table storage , follow the best practices in application design. You can download the code from GitHub to understand how telemetry works. Now that we have a fully functional Skype calling bot, let us learn how to debug and test it.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.