[This is preliminary documentation and is subject to change.]
| C# | Visual Basic | Visual C++ |
namespace DvtkApplicationLayer
Namespace DvtkApplicationLayer
namespace DvtkApplicationLayer
| All Types | Classes | Enumerations | Delegates |
| Icon | Type | Description |
|---|---|---|
| BaseInput | ||
| Project..::.CallBackMessageDisplay | ||
| SecuritySettings..::.CipherFlags | ||
| CustomExceptionHandler |
The Error Handler class.
Use this class to be able to show more information in case of an exception in a release version
(the same information is shown for a debug version).
This class is now most suitable for a windows application.
We need a class because event handling methods can't be static.
Usage of this class:
The first lines of code of the entry point of the application should be:
// Only one of the exception handlers below will be used:
// - Application.ThreadException will be fired for a windows application
// - System.AppDomain.CurrentDomain.UnhandledException will be fired for other applications.
CustomExceptionHandler eh = new CustomExceptionHandler();
Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(eh.OnThreadException);
System.AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(eh.OnAppDomainUnhandledException);
At the end of the outer catch block of a .Net thread, add the following code
(don't do this for a HLI Thread, there is a different exception handler mechanism already present):
// Problem:
// Errors thrown from a workerthread are eaten by the .NET 1.x CLR.
// Workaround:
// Directly call the global (untrapped) exception handler callback.
// Do NOT rely on
// either
// - System.AppDomain.CurrentDomain.UnhandledException
// or
// - System.Windows.Forms.Application.ThreadException
// These events will only be triggered for the main thread not for worker threads.
//
CustomExceptionHandler eh = new CustomExceptionHandler();
System.Threading.ThreadExceptionEventArgs args = new ThreadExceptionEventArgs(ex);
eh.OnThreadException(this, args);
//
// Rethrow. This rethrow may work in the future .NET 2.x CLR.
// Currently eaten.
//
throw ex;
| |
| DefinitionFile |
Summary description for DefinitionFile.
| |
| DicomScript |
Summary description for DicomScript.
| |
| Emulator |
Summary description for Emulator.
| |
| EmulatorInput |
Summary description for EmulatorInput.
| |
| EmulatorSession |
Summary description for EmulatorSession.
| |
| EmulatorSession..::.EmulatorType |
Types of Emulators.
| |
| Emulator..::.EmulatorTypes |
Enum Describing various Types of Emulator.
| |
| Session..::.LogLevelFlags | ||
| MediaFile |
Summary description for MediaFile.
| |
| MediaInput |
Summary description for MediaInputObj.
| |
| MediaSession |
Summary description for MediaSession.
| |
| PartOfSession |
Summary description for PartOfSession.
| |
| EmulatorSession..::.PrinterStatus |
Printer device status.
| |
| PrintScpEmulator |
Summary description for PrintScpEmulator.
| |
| Project |
Summary description for project.
| |
| Result |
Represents a summary and/or detail results file.
| |
| EmulatorSession..::.ScpEmulatorType |
Types of ScpEmulator .
| |
| Script |
Summary description for Script.
| |
| ScriptInput |
Summary description for ScriptInputObj.
| |
| ScriptSession |
Summary description for ScriptSession.
| |
| EmulatorSession..::.ScuEmulatorType |
Types of ScuEmulator.
| |
| SecuritySettings |
Summary description for SecuritySettings.
| |
| Session |
Summary description for Session.
| |
| SessionManager |
Summary description for SessionManager.
| |
| Session..::.SessionType | ||
| Session..::.StorageMode | ||
| StorageScpEmulator |
Summary description for StorageScpEmulator.
| |
| StorageSCUEmulator |
Summary description for StorageSCUEmulator.
| |
| SecuritySettings..::.TlsVersionFlags |
Protocols Supported
| |
| VisualBasicScript |
Represents a Visual Basic Script.
|