Reporter
Jump to navigation
Jump to search
Abstract C# class for reporting messages.
Namespace
Hierarchy
- System.Object
- au.util.io.Reporter
Usage
Reporter is an abstract class, so objects cannot be created from it. Instead they should be created as either EventLogReporters or MessageBoxReporters. If the variable is the Reporter type, it's easier to re-use code between applications and services.
Public Methods
Report
void Report(string title, string message, string debugDetail, MessageType mType)
void Report(string title, string message, MessageType mType)
void Report(string title, string message)
Reports a message. The first method signature is abstract and must be overridden by classes that inherit from this class.
- title = MessageBox caption or beginning of event log message.
- message = The actual message, user-friendly.
- debugDetail = Details to display at end of message.
- mType = Type of message being reported.