• Introduction
  • Programmer's Guide
  • Technical Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • IC Imaging Control 4 .NET Class Library
      • What's New
        • Version History
        • Transitioning from IC Imaging Control 3.x .NET Component
      • Library Organization
      • Programmer's Guide
        • Getting Started
        • Device Enumeration
        • Configuring the Video Capture Device
        • Grabbing an Image
      • Example Programs
      • Technical Articles
        • Grabber States
        • Accessing Device Properties
        • Error Handling
        • Logging
        • Distributing Your Applications

    Error Handling

    This section contains information about how errors are reported by the IC Imaging Control 4 .NET Class Library.

    Exceptions

    All functions throw an exception in case of an error. The exception's Message property contains detailed information about the cause of the error.

    Standard Exception Types

    In situations where a matching standard .NET exception type exists, functions can throw standard exceptions as well, such as

    • System.ArgumentException
    • System.ArgumentNullException
    • System.InvalidOperationException
    • System.TimeoutException
    • System.ObjectDisposedException
    • System.NotSupportedException

    ic4.IC4Exception

    Error conditions specific to the IC Imaging Control 4 .NET Class Library are thrown as a IC4Exception. The ErrorCode property identifies the kind of error that occurred.

    In this article
    Copyright ©️ 2024 The Imaging Source Europe GmbH www.theimagingsource.com