ImageLoader.prototype.abort = function()
Abort will not cause any public result callback events (Done, Fail, or Always) to be run. ImageLoaderPreRunEventArgs.Cancel and ImageLoaderPreSendEventArgs.Cancel, which are available from the PreRun and PreSend events respectively, will cause the Fail and Always callback event to run. This means that after the actual request is sent, only an actual request error will cause Fail to be run.
Dispose, which is called internally after the Always callback runs, calls Abort. Unlike Dispose, Abort will not explicitly clear references to properties such as WorkingImageElement, Xhr, Url, Error, etc. For this reason, Dispose is preferred over Abort in most cases to truly clean up the ImageLoader.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries