Package system.diagnostics
Class EventLog
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.diagnostics.EventLog
-
- All Implemented Interfaces:
AutoCloseable
,IJCOBridgeReflected
public class EventLog extends Component
The base .NET class managing System.Diagnostics.EventLog, System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51.See: https://docs.microsoft.com/en-us/dotnet/api/System.Diagnostics.EventLog
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static String
assemblyShortName
Assembly name: System.Diagnostics.EventLogstatic String
className
Qualified class name: System.Diagnostics.EventLogstatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEntryWritten(EntryWrittenEventHandler handler)
void
BeginInit()
static EventLog
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoEventLog
, a cast assert is made to check if types are compatible.void
Clear()
void
Close()
static void
CreateEventSource(String source, String logName)
static void
CreateEventSource(String source, String logName, String machineName)
static void
CreateEventSource(EventSourceCreationData sourceData)
static void
Delete(String logName)
static void
Delete(String logName, String machineName)
static void
DeleteEventSource(String source)
static void
DeleteEventSource(String source, String machineName)
void
EndInit()
static boolean
Exists(String logName)
static boolean
Exists(String logName, String machineName)
boolean
getEnableRaisingEvents()
EventLogEntryCollection
getEntries()
static EventLog[]
GetEventLogs()
static EventLog[]
GetEventLogs(String machineName)
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeString
getLog()
String
getLogDisplayName()
String
getMachineName()
long
getMaximumKilobytes()
int
getMinimumRetentionDays()
OverflowAction
getOverflowAction()
String
getSource()
ISynchronizeInvoke
getSynchronizingObject()
static String
LogNameFromSourceName(String source, String machineName)
void
ModifyOverflowPolicy(OverflowAction action, int retentionDays)
void
RegisterDisplayName(String resourceFile, long resourceId)
void
removeEntryWritten(EntryWrittenEventHandler handler)
void
setEnableRaisingEvents(boolean EnableRaisingEvents)
void
setJCOInstance(JCObject instance)
void
setLog(String Log)
void
setMachineName(String MachineName)
void
setMaximumKilobytes(long MaximumKilobytes)
void
setSource(String Source)
void
setSynchronizingObject(ISynchronizeInvoke SynchronizingObject)
static boolean
SourceExists(String source)
static boolean
SourceExists(String source, String machineName)
void
WriteEntry(String message)
static void
WriteEntry(String source, String message)
static void
WriteEntry(String source, String message, EventLogEntryType type)
static void
WriteEntry(String source, String message, EventLogEntryType type, int eventID)
static void
WriteEntry(String source, String message, EventLogEntryType type, int eventID, short category)
static void
WriteEntry(String source, String message, EventLogEntryType type, int eventID, short category, byte[] rawData)
static void
WriteEntry(String dupParam0, String dupParam1, EventLogEntryType dupParam2, int dupParam3, short dupParam4, JCORefOut dupParam5)
void
WriteEntry(String message, EventLogEntryType type)
void
WriteEntry(String message, EventLogEntryType type, int eventID)
void
WriteEntry(String message, EventLogEntryType type, int eventID, short category)
void
WriteEntry(String message, EventLogEntryType type, int eventID, short category, byte[] rawData)
void
WriteEntry(String dupParam0, EventLogEntryType dupParam1, int dupParam2, short dupParam3, JCORefOut dupParam4)
static void
WriteEvent(String source, EventInstance instance, byte[] data, NetObject... values)
static void
WriteEvent(String dupParam0, EventInstance dupParam1, JCORefOut dupParam2, NetObject... dupParam3)
static void
WriteEvent(String source, EventInstance instance, NetObject... values)
void
WriteEvent(EventInstance instance, byte[] data, NetObject... values)
void
WriteEvent(EventInstance dupParam0, JCORefOut dupParam1, NetObject... dupParam2)
void
WriteEvent(EventInstance instance, NetObject... values)
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
GetLifetimeService, InitializeLifetimeService
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Diagnostics.EventLog- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Diagnostics.EventLog- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EventLog
public EventLog(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
EventLog
public EventLog() throws Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, FormatException
-
EventLog
public EventLog(String logName, String machineName, String source) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException
-
EventLog
public EventLog(String logName, String machineName) throws Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, FormatException
-
EventLog
public EventLog(String logName) throws Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, FormatException
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classComponent
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classComponent
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classComponent
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classComponent
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classComponent
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classComponent
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static EventLog cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoEventLog
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
EventLog
instance- Throws:
Throwable
- in case of error during cast operation
-
Exists
public static boolean Exists(String logName, String machineName) throws Throwable, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, ArgumentNullException, CultureNotFoundException, IOException, ObjectDisposedException, ArrayTypeMismatchException, OutOfMemoryException, RankException, SecurityException
- Throws:
Throwable
IndexOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
ArgumentException
ArgumentOutOfRangeException
NotSupportedException
ArgumentNullException
CultureNotFoundException
IOException
ObjectDisposedException
ArrayTypeMismatchException
OutOfMemoryException
RankException
SecurityException
-
Exists
public static boolean Exists(String logName) throws Throwable, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, ArgumentNullException, CultureNotFoundException, ObjectDisposedException, IOException, OutOfMemoryException, RankException, ArrayTypeMismatchException, SecurityException
- Throws:
Throwable
IndexOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
ArgumentException
ArgumentOutOfRangeException
NotSupportedException
ArgumentNullException
CultureNotFoundException
ObjectDisposedException
IOException
OutOfMemoryException
RankException
ArrayTypeMismatchException
SecurityException
-
SourceExists
public static boolean SourceExists(String source, String machineName) throws Throwable, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, ArgumentNullException, CultureNotFoundException, ObjectDisposedException, IOException, OutOfMemoryException, RankException, ArrayTypeMismatchException, SecurityException, UnauthorizedAccessException
- Throws:
Throwable
IndexOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
ArgumentException
ArgumentOutOfRangeException
NotSupportedException
ArgumentNullException
CultureNotFoundException
ObjectDisposedException
IOException
OutOfMemoryException
RankException
ArrayTypeMismatchException
SecurityException
UnauthorizedAccessException
-
SourceExists
public static boolean SourceExists(String source) throws Throwable, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, IOException, ArgumentOutOfRangeException, SecurityException, UnauthorizedAccessException, ArrayTypeMismatchException
- Throws:
Throwable
IndexOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
NotSupportedException
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
IOException
ArgumentOutOfRangeException
SecurityException
UnauthorizedAccessException
ArrayTypeMismatchException
-
GetEventLogs
public static EventLog[] GetEventLogs() throws Throwable, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, ArgumentNullException, CultureNotFoundException, ObjectDisposedException, IOException, OutOfMemoryException, RankException, ArrayTypeMismatchException, SecurityException, UnauthorizedAccessException
- Throws:
Throwable
IndexOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
ArgumentException
ArgumentOutOfRangeException
NotSupportedException
ArgumentNullException
CultureNotFoundException
ObjectDisposedException
IOException
OutOfMemoryException
RankException
ArrayTypeMismatchException
SecurityException
UnauthorizedAccessException
-
GetEventLogs
public static EventLog[] GetEventLogs(String machineName) throws Throwable, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, ArgumentNullException, CultureNotFoundException, IOException, ObjectDisposedException, ArrayTypeMismatchException, OutOfMemoryException, RankException, SecurityException, UnauthorizedAccessException
- Throws:
Throwable
IndexOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
ArgumentException
ArgumentOutOfRangeException
NotSupportedException
ArgumentNullException
CultureNotFoundException
IOException
ObjectDisposedException
ArrayTypeMismatchException
OutOfMemoryException
RankException
SecurityException
UnauthorizedAccessException
-
LogNameFromSourceName
public static String LogNameFromSourceName(String source, String machineName) throws Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, IOException, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, SecurityException, UnauthorizedAccessException, InvalidOperationException, ArrayTypeMismatchException
-
BeginInit
public void BeginInit() throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, OutOfMemoryException, NotSupportedException, Win32Exception
- Throws:
Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
CultureNotFoundException
InvalidOperationException
PlatformNotSupportedException
ObjectDisposedException
SecurityException
UnauthorizedAccessException
IOException
IndexOutOfRangeException
OutOfMemoryException
NotSupportedException
Win32Exception
-
Clear
public void Clear() throws Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, SecurityException, FormatException, Win32Exception
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
IndexOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ArgumentNullException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
SecurityException
FormatException
Win32Exception
-
Close
public void Close() throws Throwable, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, Win32Exception, SecurityException, NotSupportedException, RankException, ArrayTypeMismatchException
-
CreateEventSource
public static void CreateEventSource(EventSourceCreationData sourceData) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, WaitHandleCannotBeOpenedException, IOException, OutOfMemoryException, SecurityException, UnauthorizedAccessException, FormatException, ApplicationException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
WaitHandleCannotBeOpenedException
IOException
OutOfMemoryException
SecurityException
UnauthorizedAccessException
FormatException
ApplicationException
-
CreateEventSource
public static void CreateEventSource(String source, String logName, String machineName) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException, WaitHandleCannotBeOpenedException, IOException, SecurityException, UnauthorizedAccessException, AmbiguousMatchException, OutOfMemoryException, ApplicationException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
FormatException
WaitHandleCannotBeOpenedException
IOException
SecurityException
UnauthorizedAccessException
AmbiguousMatchException
OutOfMemoryException
ApplicationException
-
CreateEventSource
public static void CreateEventSource(String source, String logName) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException, WaitHandleCannotBeOpenedException, IOException, SecurityException, UnauthorizedAccessException, AmbiguousMatchException, OutOfMemoryException, ApplicationException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
FormatException
WaitHandleCannotBeOpenedException
IOException
SecurityException
UnauthorizedAccessException
AmbiguousMatchException
OutOfMemoryException
ApplicationException
-
Delete
public static void Delete(String logName, String machineName) throws Throwable, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, ArgumentNullException, CultureNotFoundException, WaitHandleCannotBeOpenedException, IOException, ObjectDisposedException, ArrayTypeMismatchException, OutOfMemoryException, RankException, SecurityException, Win32Exception, UnauthorizedAccessException, ApplicationException
- Throws:
Throwable
IndexOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
ArgumentException
ArgumentOutOfRangeException
NotSupportedException
ArgumentNullException
CultureNotFoundException
WaitHandleCannotBeOpenedException
IOException
ObjectDisposedException
ArrayTypeMismatchException
OutOfMemoryException
RankException
SecurityException
Win32Exception
UnauthorizedAccessException
ApplicationException
-
Delete
public static void Delete(String logName) throws Throwable, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, ArgumentNullException, CultureNotFoundException, ObjectDisposedException, WaitHandleCannotBeOpenedException, IOException, OutOfMemoryException, RankException, ArrayTypeMismatchException, SecurityException, Win32Exception, UnauthorizedAccessException, ApplicationException
- Throws:
Throwable
IndexOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
ArgumentException
ArgumentOutOfRangeException
NotSupportedException
ArgumentNullException
CultureNotFoundException
ObjectDisposedException
WaitHandleCannotBeOpenedException
IOException
OutOfMemoryException
RankException
ArrayTypeMismatchException
SecurityException
Win32Exception
UnauthorizedAccessException
ApplicationException
-
DeleteEventSource
public static void DeleteEventSource(String source, String machineName) throws Throwable, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, ArgumentNullException, CultureNotFoundException, WaitHandleCannotBeOpenedException, IOException, ObjectDisposedException, OutOfMemoryException, RankException, ArrayTypeMismatchException, SecurityException, UnauthorizedAccessException, ApplicationException
- Throws:
Throwable
IndexOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
ArgumentException
ArgumentOutOfRangeException
NotSupportedException
ArgumentNullException
CultureNotFoundException
WaitHandleCannotBeOpenedException
IOException
ObjectDisposedException
OutOfMemoryException
RankException
ArrayTypeMismatchException
SecurityException
UnauthorizedAccessException
ApplicationException
-
DeleteEventSource
public static void DeleteEventSource(String source) throws Throwable, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, ArgumentNullException, CultureNotFoundException, ObjectDisposedException, WaitHandleCannotBeOpenedException, IOException, SecurityException, UnauthorizedAccessException, ArrayTypeMismatchException, ApplicationException
- Throws:
Throwable
IndexOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
ArgumentException
ArgumentOutOfRangeException
NotSupportedException
ArgumentNullException
CultureNotFoundException
ObjectDisposedException
WaitHandleCannotBeOpenedException
IOException
SecurityException
UnauthorizedAccessException
ArrayTypeMismatchException
ApplicationException
-
EndInit
public void EndInit() throws Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, IndexOutOfRangeException, InvalidOperationException, OutOfMemoryException, FormatException, NotSupportedException, Win32Exception, WaitHandleCannotBeOpenedException
- Throws:
Throwable
PlatformNotSupportedException
ArgumentNullException
ArgumentException
ObjectDisposedException
SecurityException
UnauthorizedAccessException
IOException
ArgumentOutOfRangeException
IndexOutOfRangeException
InvalidOperationException
OutOfMemoryException
FormatException
NotSupportedException
Win32Exception
WaitHandleCannotBeOpenedException
-
ModifyOverflowPolicy
public void ModifyOverflowPolicy(OverflowAction action, int retentionDays) throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, SecurityException, NotSupportedException, UnauthorizedAccessException
- Throws:
Throwable
ArgumentNullException
ArgumentException
ObjectDisposedException
InvalidOperationException
PlatformNotSupportedException
ArgumentOutOfRangeException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
SecurityException
NotSupportedException
UnauthorizedAccessException
-
RegisterDisplayName
public void RegisterDisplayName(String resourceFile, long resourceId) throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, SecurityException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException, UnauthorizedAccessException
-
WriteEntry
public void WriteEntry(String message, EventLogEntryType type, int eventID, short category, byte[] rawData) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, NotSupportedException, InvalidOperationException, InvalidEnumArgumentException, IOException, ObjectDisposedException, IndexOutOfRangeException, SecurityException, UnauthorizedAccessException, ArrayTypeMismatchException, OutOfMemoryException, WaitHandleCannotBeOpenedException, ApplicationException, Win32Exception
- Throws:
Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
CultureNotFoundException
PlatformNotSupportedException
NotSupportedException
InvalidOperationException
InvalidEnumArgumentException
IOException
ObjectDisposedException
IndexOutOfRangeException
SecurityException
UnauthorizedAccessException
ArrayTypeMismatchException
OutOfMemoryException
WaitHandleCannotBeOpenedException
ApplicationException
Win32Exception
-
WriteEntry
public void WriteEntry(String dupParam0, EventLogEntryType dupParam1, int dupParam2, short dupParam3, JCORefOut dupParam4) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, NotSupportedException, InvalidOperationException, InvalidEnumArgumentException, IOException, ObjectDisposedException, IndexOutOfRangeException, SecurityException, UnauthorizedAccessException, ArrayTypeMismatchException, OutOfMemoryException, WaitHandleCannotBeOpenedException, ApplicationException, Win32Exception
- Throws:
Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
CultureNotFoundException
PlatformNotSupportedException
NotSupportedException
InvalidOperationException
InvalidEnumArgumentException
IOException
ObjectDisposedException
IndexOutOfRangeException
SecurityException
UnauthorizedAccessException
ArrayTypeMismatchException
OutOfMemoryException
WaitHandleCannotBeOpenedException
ApplicationException
Win32Exception
-
WriteEntry
public void WriteEntry(String message, EventLogEntryType type, int eventID, short category) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, NotSupportedException, InvalidEnumArgumentException, SecurityException, UnauthorizedAccessException, IOException, OutOfMemoryException, WaitHandleCannotBeOpenedException, ApplicationException, Win32Exception
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
PlatformNotSupportedException
ArgumentOutOfRangeException
FormatException
IndexOutOfRangeException
NotSupportedException
InvalidEnumArgumentException
SecurityException
UnauthorizedAccessException
IOException
OutOfMemoryException
WaitHandleCannotBeOpenedException
ApplicationException
Win32Exception
-
WriteEntry
public void WriteEntry(String message, EventLogEntryType type, int eventID) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, NotSupportedException, InvalidEnumArgumentException, SecurityException, UnauthorizedAccessException, IOException, OutOfMemoryException, WaitHandleCannotBeOpenedException, ApplicationException, Win32Exception
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
PlatformNotSupportedException
ArgumentOutOfRangeException
FormatException
IndexOutOfRangeException
NotSupportedException
InvalidEnumArgumentException
SecurityException
UnauthorizedAccessException
IOException
OutOfMemoryException
WaitHandleCannotBeOpenedException
ApplicationException
Win32Exception
-
WriteEntry
public void WriteEntry(String message, EventLogEntryType type) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, NotSupportedException, InvalidEnumArgumentException, SecurityException, UnauthorizedAccessException, IOException, OutOfMemoryException, WaitHandleCannotBeOpenedException, ApplicationException, Win32Exception
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
PlatformNotSupportedException
ArgumentOutOfRangeException
FormatException
IndexOutOfRangeException
NotSupportedException
InvalidEnumArgumentException
SecurityException
UnauthorizedAccessException
IOException
OutOfMemoryException
WaitHandleCannotBeOpenedException
ApplicationException
Win32Exception
-
WriteEntry
public static void WriteEntry(String source, String message, EventLogEntryType type, int eventID, short category, byte[] rawData) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, InvalidEnumArgumentException, IOException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, ArrayTypeMismatchException, OutOfMemoryException, WaitHandleCannotBeOpenedException, ApplicationException, Win32Exception
- Throws:
Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
CultureNotFoundException
IndexOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
NotSupportedException
InvalidEnumArgumentException
IOException
ObjectDisposedException
SecurityException
UnauthorizedAccessException
ArrayTypeMismatchException
OutOfMemoryException
WaitHandleCannotBeOpenedException
ApplicationException
Win32Exception
-
WriteEntry
public static void WriteEntry(String dupParam0, String dupParam1, EventLogEntryType dupParam2, int dupParam3, short dupParam4, JCORefOut dupParam5) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, InvalidEnumArgumentException, IOException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, ArrayTypeMismatchException, OutOfMemoryException, WaitHandleCannotBeOpenedException, ApplicationException, Win32Exception
- Throws:
Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
CultureNotFoundException
IndexOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
NotSupportedException
InvalidEnumArgumentException
IOException
ObjectDisposedException
SecurityException
UnauthorizedAccessException
ArrayTypeMismatchException
OutOfMemoryException
WaitHandleCannotBeOpenedException
ApplicationException
Win32Exception
-
WriteEntry
public static void WriteEntry(String source, String message, EventLogEntryType type, int eventID, short category) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, FormatException, ArgumentOutOfRangeException, InvalidEnumArgumentException, SecurityException, UnauthorizedAccessException, IOException, OutOfMemoryException, WaitHandleCannotBeOpenedException, ApplicationException, Win32Exception
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
PlatformNotSupportedException
NotSupportedException
FormatException
ArgumentOutOfRangeException
InvalidEnumArgumentException
SecurityException
UnauthorizedAccessException
IOException
OutOfMemoryException
WaitHandleCannotBeOpenedException
ApplicationException
Win32Exception
-
WriteEntry
public static void WriteEntry(String source, String message, EventLogEntryType type, int eventID) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, FormatException, ArgumentOutOfRangeException, InvalidEnumArgumentException, SecurityException, UnauthorizedAccessException, IOException, OutOfMemoryException, WaitHandleCannotBeOpenedException, ApplicationException, Win32Exception
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
PlatformNotSupportedException
NotSupportedException
FormatException
ArgumentOutOfRangeException
InvalidEnumArgumentException
SecurityException
UnauthorizedAccessException
IOException
OutOfMemoryException
WaitHandleCannotBeOpenedException
ApplicationException
Win32Exception
-
WriteEntry
public static void WriteEntry(String source, String message, EventLogEntryType type) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, FormatException, ArgumentOutOfRangeException, InvalidEnumArgumentException, SecurityException, UnauthorizedAccessException, IOException, OutOfMemoryException, WaitHandleCannotBeOpenedException, ApplicationException, Win32Exception
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
PlatformNotSupportedException
NotSupportedException
FormatException
ArgumentOutOfRangeException
InvalidEnumArgumentException
SecurityException
UnauthorizedAccessException
IOException
OutOfMemoryException
WaitHandleCannotBeOpenedException
ApplicationException
Win32Exception
-
WriteEntry
public static void WriteEntry(String source, String message) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, FormatException, ArgumentOutOfRangeException, InvalidEnumArgumentException, SecurityException, UnauthorizedAccessException, IOException, OutOfMemoryException, WaitHandleCannotBeOpenedException, ApplicationException, Win32Exception
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
PlatformNotSupportedException
NotSupportedException
FormatException
ArgumentOutOfRangeException
InvalidEnumArgumentException
SecurityException
UnauthorizedAccessException
IOException
OutOfMemoryException
WaitHandleCannotBeOpenedException
ApplicationException
Win32Exception
-
WriteEntry
public void WriteEntry(String message) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, NotSupportedException, InvalidEnumArgumentException, SecurityException, UnauthorizedAccessException, IOException, OutOfMemoryException, WaitHandleCannotBeOpenedException, ApplicationException, Win32Exception
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
PlatformNotSupportedException
ArgumentOutOfRangeException
FormatException
IndexOutOfRangeException
NotSupportedException
InvalidEnumArgumentException
SecurityException
UnauthorizedAccessException
IOException
OutOfMemoryException
WaitHandleCannotBeOpenedException
ApplicationException
Win32Exception
-
WriteEvent
public void WriteEvent(EventInstance instance, byte[] data, NetObject... values) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException, IOException, SecurityException, UnauthorizedAccessException, OutOfMemoryException, WaitHandleCannotBeOpenedException, ApplicationException, Win32Exception
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
FormatException
IOException
SecurityException
UnauthorizedAccessException
OutOfMemoryException
WaitHandleCannotBeOpenedException
ApplicationException
Win32Exception
-
WriteEvent
public void WriteEvent(EventInstance dupParam0, JCORefOut dupParam1, NetObject... dupParam2) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException, IOException, SecurityException, UnauthorizedAccessException, OutOfMemoryException, WaitHandleCannotBeOpenedException, ApplicationException, Win32Exception
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
FormatException
IOException
SecurityException
UnauthorizedAccessException
OutOfMemoryException
WaitHandleCannotBeOpenedException
ApplicationException
Win32Exception
-
WriteEvent
public void WriteEvent(EventInstance instance, NetObject... values) throws Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, FormatException, SecurityException, UnauthorizedAccessException, IOException, OutOfMemoryException, WaitHandleCannotBeOpenedException, CultureNotFoundException, ApplicationException, Win32Exception
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
IndexOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ArgumentNullException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
FormatException
SecurityException
UnauthorizedAccessException
IOException
OutOfMemoryException
WaitHandleCannotBeOpenedException
CultureNotFoundException
ApplicationException
Win32Exception
-
WriteEvent
public static void WriteEvent(String source, EventInstance instance, byte[] data, NetObject... values) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, IOException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, ArrayTypeMismatchException, OutOfMemoryException, WaitHandleCannotBeOpenedException, ApplicationException, Win32Exception
- Throws:
Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
CultureNotFoundException
IndexOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
NotSupportedException
IOException
ObjectDisposedException
SecurityException
UnauthorizedAccessException
ArrayTypeMismatchException
OutOfMemoryException
WaitHandleCannotBeOpenedException
ApplicationException
Win32Exception
-
WriteEvent
public static void WriteEvent(String dupParam0, EventInstance dupParam1, JCORefOut dupParam2, NetObject... dupParam3) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, IOException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, ArrayTypeMismatchException, OutOfMemoryException, WaitHandleCannotBeOpenedException, ApplicationException, Win32Exception
- Throws:
Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
CultureNotFoundException
IndexOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
NotSupportedException
IOException
ObjectDisposedException
SecurityException
UnauthorizedAccessException
ArrayTypeMismatchException
OutOfMemoryException
WaitHandleCannotBeOpenedException
ApplicationException
Win32Exception
-
WriteEvent
public static void WriteEvent(String source, EventInstance instance, NetObject... values) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, IOException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, ArrayTypeMismatchException, OutOfMemoryException, WaitHandleCannotBeOpenedException, ApplicationException, Win32Exception
- Throws:
Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
CultureNotFoundException
IndexOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
NotSupportedException
IOException
ObjectDisposedException
SecurityException
UnauthorizedAccessException
ArrayTypeMismatchException
OutOfMemoryException
WaitHandleCannotBeOpenedException
ApplicationException
Win32Exception
-
setEnableRaisingEvents
public void setEnableRaisingEvents(boolean EnableRaisingEvents) throws Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, IndexOutOfRangeException, InvalidOperationException, OutOfMemoryException, FormatException, NotSupportedException, Win32Exception, WaitHandleCannotBeOpenedException
- Throws:
Throwable
PlatformNotSupportedException
ArgumentNullException
ArgumentException
ObjectDisposedException
SecurityException
UnauthorizedAccessException
IOException
ArgumentOutOfRangeException
IndexOutOfRangeException
InvalidOperationException
OutOfMemoryException
FormatException
NotSupportedException
Win32Exception
WaitHandleCannotBeOpenedException
-
getMinimumRetentionDays
public int getMinimumRetentionDays() throws Throwable, PlatformNotSupportedException, SecurityException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentNullException, ArgumentException, IOException
-
getMaximumKilobytes
public long getMaximumKilobytes() throws Throwable, PlatformNotSupportedException, SecurityException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentNullException, ArgumentException, IOException
-
setMaximumKilobytes
public void setMaximumKilobytes(long MaximumKilobytes) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, SecurityException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, UnauthorizedAccessException
-
getSynchronizingObject
public ISynchronizeInvoke getSynchronizingObject() throws Throwable
- Throws:
Throwable
-
setSynchronizingObject
public void setSynchronizingObject(ISynchronizeInvoke SynchronizingObject) throws Throwable
- Throws:
Throwable
-
getEntries
public EventLogEntryCollection getEntries() throws Throwable
- Throws:
Throwable
-
getOverflowAction
public OverflowAction getOverflowAction() throws Throwable, PlatformNotSupportedException, SecurityException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentNullException, ArgumentException, IOException
-
getLog
public String getLog() throws Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, IndexOutOfRangeException, InvalidOperationException, OutOfMemoryException, FormatException, NotSupportedException
- Throws:
Throwable
PlatformNotSupportedException
ArgumentNullException
ArgumentException
ObjectDisposedException
SecurityException
UnauthorizedAccessException
IOException
ArgumentOutOfRangeException
IndexOutOfRangeException
InvalidOperationException
OutOfMemoryException
FormatException
NotSupportedException
-
setLog
public void setLog(String Log) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException, SecurityException, UnauthorizedAccessException, IOException, OutOfMemoryException, Win32Exception, WaitHandleCannotBeOpenedException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
FormatException
SecurityException
UnauthorizedAccessException
IOException
OutOfMemoryException
Win32Exception
WaitHandleCannotBeOpenedException
-
getLogDisplayName
public String getLogDisplayName() throws Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, IndexOutOfRangeException, InvalidOperationException, OutOfMemoryException, FormatException, NotSupportedException
- Throws:
Throwable
PlatformNotSupportedException
ArgumentNullException
ArgumentException
ObjectDisposedException
SecurityException
UnauthorizedAccessException
IOException
ArgumentOutOfRangeException
IndexOutOfRangeException
InvalidOperationException
OutOfMemoryException
FormatException
NotSupportedException
-
setMachineName
public void setMachineName(String MachineName) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException, SecurityException, UnauthorizedAccessException, IOException, OutOfMemoryException, Win32Exception, WaitHandleCannotBeOpenedException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
FormatException
SecurityException
UnauthorizedAccessException
IOException
OutOfMemoryException
Win32Exception
WaitHandleCannotBeOpenedException
-
setSource
public void setSource(String Source) throws Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, IndexOutOfRangeException, InvalidOperationException, OutOfMemoryException, FormatException, NotSupportedException, Win32Exception, WaitHandleCannotBeOpenedException
- Throws:
Throwable
PlatformNotSupportedException
ArgumentNullException
ArgumentException
ObjectDisposedException
SecurityException
UnauthorizedAccessException
IOException
ArgumentOutOfRangeException
IndexOutOfRangeException
InvalidOperationException
OutOfMemoryException
FormatException
NotSupportedException
Win32Exception
WaitHandleCannotBeOpenedException
-
addEntryWritten
public void addEntryWritten(EntryWrittenEventHandler handler) throws Throwable
- Throws:
Throwable
-
removeEntryWritten
public void removeEntryWritten(EntryWrittenEventHandler handler) throws Throwable
- Throws:
Throwable
-
-