'Declaration Public Sub CloseSource()
'Usage Dim instance As ImGearTWAIN instance.CloseSource()
public void CloseSource()
public: void CloseSource();
public: void CloseSource();
'Declaration Public Sub CloseSource()
'Usage Dim instance As ImGearTWAIN instance.CloseSource()
public void CloseSource()
public: void CloseSource();
public: void CloseSource();
Exception | Description |
---|---|
ImageGear.Core.ImGearException | Thrown when this method is called but there is not an open connection with the Data Source Manager. |
When an application is finished with a Data Source, it must formally close the session between them using this method. This is necessary in case the Data Source only supports connection with a single application (many desktop scanners will behave this way). A Data Source such as this cannot be accessed by other applications until its current session is terminated.