Platforms to show: All Mac Windows Linux Cross-Platform

WindowsReportErrorMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Windows MBS Win Plugin 21.0 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The class for an event source on Windows to report errors.
// early on app start, setup this
dim r as new WindowsReportErrorMBS("Application")

// later report something
const Category = 1
const EventID = 1000
r.Report r.kEventLogWarningType, Category, EventID, array("Hello World")

Feedback, Comments & Corrections

  • property Handle as Integer
  • 2 methods
    • method Constructor(SourceName as String, UNCServerName as String = "")
    • method Report(Type as Integer, Category as Integer, EventID as Integer, Strings() as string = nil, RawData as MemoryBlock = nil)
  • 6 constants

Event Types

Constant Value Description
kEventLogAuditFailure 16 Failure Audit event
kEventLogAuditSuccess 8 Success Audit event
kEventLogErrorType 1 Error event
kEventLogInformationType 4 Information event
kEventLogSuccess 0 Information event
kEventLogWarningType 2 Warning event

This class has no sub classes.

Blog Entries

The items on this page are in the following plugins: MBS Win Plugin.

WindowsQOSMBS   -   WindowsScriptErrorExceptionMBS

The biggest plugin in space...

MBS FileMaker tutorial videos

Start Chat