SdkObjectNotFoundException
public sealed class SdkObjectNotFoundException : OptrisSdkException
A named region, device or channel does not exist.
Example
try { RegionStats stats = camera.GetRegionStats(id); } catch (SdkObjectNotFoundException) { Console.WriteLine("that region has been removed"); }
SdkObjectNotFoundException: constructors
public SdkObjectNotFoundException(string message)
Create the exception.
message: What went wrong.
public SdkObjectNotFoundException(string message, int status)
Create the exception with its native status.
message: What went wrong.status: The native status code.