VintaSoft Twain .NET SDK 15.3: Руководство для .NET разработчика
Vintasoft.Twain Namespace / Device Class / Close() Method
Синтаксис Exceptions Ремарки Требования Смотрите также
В этом разделе
    Close() Метод (Device)
    В этом разделе
    Closes the device.
    Синтаксис
    'Declaration
    
    Public Sub Close()
    
    
    public void Close()
    
    
    public: void Close()
    
    
    public:
    void Close()
    Исключения
    ИсключениеОписание
    Thrown if device is disposed.
    Thrown if device is transferring images.
    Thrown if the .NET debugger is used and the function evaluation requires all threads to run.
    Ремарки

    Call this method only when device is opened (State == DeviceState.Opened) or device is enabled (State == DeviceState.Enabled).

    Important: Do not call this method when device is transferring images (State == DeviceState.TransferReady or State == DeviceState.Transferring) - you need to cancel transfer with the CancelTransfer method and only then call this method.

    Требования

    Целевые платформы: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    Смотрите также