|Download Help (Windows Only)|
Handles the end of an asynchronous write.
Assembly: NationalInstruments.VisaNS (in NationalInstruments.VisaNS.dll) Version: 18.104.22.168
|Visual Basic (Declaration)|
Public Sub EndWrite ( _ asyncResult As IAsyncResult _ )
public void EndWrite( IAsyncResult asyncResult )
|VisaException||The NI-VISA driver returned an error as a result of calling this method.|
asyncResult has already ended.
asyncResult is not a write.
asyncResult did not originate from VisaNS.
|ArgumentNullException||asyncResult is null (Nothing in Visual Basic).|
|DllNotFoundException||The NI-VISA driver library cannot be found.|
|EntryPointNotFoundException||A required operation in the NI-VISA driver library cannot be found.|
|ObjectDisposedException||This member is called after the Dispose method is called directly from code or indirectly through a finalizer.|
|Note: In order to free resources associated with the write, you must always call BeginWrite, whether in the callback given to BeginWrite or in the same thread of execution where BeginWrite was called.after you call|