Initialization
Initialization
using NBaseSDK;NBaseSDK.Chat nc = NBaseSDK.Chat.GetInstance();nc.initialize([PROJECT_ID], [REGION], [LANGUAGE]);ID
Type
Description
Required
Error handling
try
{
// Write the code that may cause an error here.
...
}
catch (InvalidOperationException e)
{
// Write the handling for specific error types here.
Console.WriteLine("InvalidOperationException: {0}", e.Message);
}
catch(Exception e)
{
// Write the general error handling here.
Console.WriteLine("Error: {0}", e.Message);
}
Last updated