public class EventLogConfiguration extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Diagnostics.Eventing.Reader.EventLogConfiguration
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Diagnostics.EventLog, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Diagnostics.EventLog
|
static java.lang.String |
className
Qualified class name: System.Diagnostics.Eventing.Reader.EventLogConfiguration
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
EventLogConfiguration() |
EventLogConfiguration(java.lang.Object instance)
Internal constructor.
|
EventLogConfiguration(java.lang.String logName) |
EventLogConfiguration(java.lang.String logName,
EventLogSession session) |
| Modifier and Type | Method and Description |
|---|---|
static EventLogConfiguration |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into EventLogConfiguration, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Dispose() |
boolean |
getIsClassicLog() |
boolean |
getIsEnabled() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
java.lang.String |
getLogFilePath() |
EventLogIsolation |
getLogIsolation() |
EventLogMode |
getLogMode() |
java.lang.String |
getLogName() |
EventLogType |
getLogType() |
long |
getMaximumSizeInBytes() |
java.lang.String |
getOwningProviderName() |
java.lang.String |
getSecurityDescriptor() |
void |
SaveChanges() |
void |
setIsEnabled(boolean IsEnabled) |
void |
setJCOInstance(JCObject instance) |
void |
setLogFilePath(java.lang.String LogFilePath) |
void |
setLogMode(EventLogMode LogMode) |
void |
setMaximumSizeInBytes(long MaximumSizeInBytes) |
void |
setSecurityDescriptor(java.lang.String SecurityDescriptor) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public EventLogConfiguration()
throws java.lang.Throwable
java.lang.Throwablepublic EventLogConfiguration(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic EventLogConfiguration(java.lang.String logName)
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
MissingMethodException,
TargetInvocationException,
ObjectDisposedException,
EventLogNotFoundException,
EventLogInvalidDataException,
OperationCanceledException,
EventLogProviderDisabledException,
UnauthorizedAccessException,
EventLogReadingException,
EventLogException
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionpublic EventLogConfiguration(java.lang.String logName,
EventLogSession session)
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
NotSupportedException,
MissingMethodException,
TargetInvocationException,
ObjectDisposedException,
EventLogNotFoundException,
EventLogInvalidDataException,
OperationCanceledException,
EventLogProviderDisabledException,
UnauthorizedAccessException,
EventLogReadingException,
EventLogException
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionpublic static EventLogConfiguration cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into EventLogConfiguration, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedEventLogConfiguration instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Dispose()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionpublic boolean getIsClassicLog()
throws java.lang.Throwable,
ObjectDisposedException,
EventLogNotFoundException,
EventLogInvalidDataException,
OperationCanceledException,
EventLogProviderDisabledException,
UnauthorizedAccessException,
EventLogReadingException,
EventLogException,
PlatformNotSupportedException,
OutOfMemoryException,
ArgumentException,
ArgumentNullException,
NotSupportedException,
MissingMethodException,
TargetInvocationException,
AccessViolationException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
OverflowException
java.lang.ThrowableObjectDisposedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionArgumentExceptionArgumentNullExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionAccessViolationExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionOverflowExceptionpublic boolean getIsEnabled()
throws java.lang.Throwable,
ObjectDisposedException,
EventLogNotFoundException,
EventLogInvalidDataException,
OperationCanceledException,
EventLogProviderDisabledException,
UnauthorizedAccessException,
EventLogReadingException,
EventLogException,
PlatformNotSupportedException,
OutOfMemoryException,
ArgumentException,
ArgumentNullException,
NotSupportedException,
MissingMethodException,
TargetInvocationException,
AccessViolationException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
OverflowException
java.lang.ThrowableObjectDisposedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionArgumentExceptionArgumentNullExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionAccessViolationExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionOverflowExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic java.lang.String getLogFilePath()
throws java.lang.Throwable,
ObjectDisposedException,
EventLogNotFoundException,
EventLogInvalidDataException,
OperationCanceledException,
EventLogProviderDisabledException,
UnauthorizedAccessException,
EventLogReadingException,
EventLogException,
PlatformNotSupportedException,
OutOfMemoryException,
ArgumentException,
ArgumentNullException,
NotSupportedException,
MissingMethodException,
TargetInvocationException,
AccessViolationException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
OverflowException
java.lang.ThrowableObjectDisposedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionArgumentExceptionArgumentNullExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionAccessViolationExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionOverflowExceptionpublic EventLogIsolation getLogIsolation() throws java.lang.Throwable, ObjectDisposedException, EventLogNotFoundException, EventLogInvalidDataException, OperationCanceledException, EventLogProviderDisabledException, UnauthorizedAccessException, EventLogReadingException, EventLogException, PlatformNotSupportedException, OutOfMemoryException, ArgumentException, ArgumentNullException, NotSupportedException, MissingMethodException, TargetInvocationException, AccessViolationException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, OverflowException
java.lang.ThrowableObjectDisposedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionArgumentExceptionArgumentNullExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionAccessViolationExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionOverflowExceptionpublic EventLogMode getLogMode() throws java.lang.Throwable, ObjectDisposedException, EventLogNotFoundException, EventLogInvalidDataException, OperationCanceledException, EventLogProviderDisabledException, UnauthorizedAccessException, EventLogReadingException, EventLogException, PlatformNotSupportedException, OutOfMemoryException, ArgumentException, ArgumentNullException, NotSupportedException, MissingMethodException, TargetInvocationException, AccessViolationException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, OverflowException
java.lang.ThrowableObjectDisposedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionArgumentExceptionArgumentNullExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionAccessViolationExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionOverflowExceptionpublic java.lang.String getLogName()
throws java.lang.Throwable
java.lang.Throwablepublic EventLogType getLogType() throws java.lang.Throwable, ObjectDisposedException, EventLogNotFoundException, EventLogInvalidDataException, OperationCanceledException, EventLogProviderDisabledException, UnauthorizedAccessException, EventLogReadingException, EventLogException, PlatformNotSupportedException, OutOfMemoryException, ArgumentException, ArgumentNullException, NotSupportedException, MissingMethodException, TargetInvocationException, AccessViolationException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, OverflowException
java.lang.ThrowableObjectDisposedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionArgumentExceptionArgumentNullExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionAccessViolationExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionOverflowExceptionpublic long getMaximumSizeInBytes()
throws java.lang.Throwable,
ObjectDisposedException,
EventLogNotFoundException,
EventLogInvalidDataException,
OperationCanceledException,
EventLogProviderDisabledException,
UnauthorizedAccessException,
EventLogReadingException,
EventLogException,
PlatformNotSupportedException,
OutOfMemoryException,
ArgumentException,
ArgumentNullException,
NotSupportedException,
MissingMethodException,
TargetInvocationException,
AccessViolationException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
OverflowException
java.lang.ThrowableObjectDisposedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionArgumentExceptionArgumentNullExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionAccessViolationExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionOverflowExceptionpublic java.lang.String getOwningProviderName()
throws java.lang.Throwable,
ObjectDisposedException,
EventLogNotFoundException,
EventLogInvalidDataException,
OperationCanceledException,
EventLogProviderDisabledException,
UnauthorizedAccessException,
EventLogReadingException,
EventLogException,
PlatformNotSupportedException,
OutOfMemoryException,
ArgumentException,
ArgumentNullException,
NotSupportedException,
MissingMethodException,
TargetInvocationException,
AccessViolationException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
OverflowException
java.lang.ThrowableObjectDisposedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionArgumentExceptionArgumentNullExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionAccessViolationExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionOverflowExceptionpublic java.lang.String getSecurityDescriptor()
throws java.lang.Throwable,
ObjectDisposedException,
EventLogNotFoundException,
EventLogInvalidDataException,
OperationCanceledException,
EventLogProviderDisabledException,
UnauthorizedAccessException,
EventLogReadingException,
EventLogException,
PlatformNotSupportedException,
OutOfMemoryException,
ArgumentException,
ArgumentNullException,
NotSupportedException,
MissingMethodException,
TargetInvocationException,
AccessViolationException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
OverflowException
java.lang.ThrowableObjectDisposedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionArgumentExceptionArgumentNullExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionAccessViolationExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionOverflowExceptionpublic void SaveChanges()
throws java.lang.Throwable,
ObjectDisposedException,
EventLogNotFoundException,
EventLogInvalidDataException,
OperationCanceledException,
EventLogProviderDisabledException,
UnauthorizedAccessException,
EventLogReadingException,
EventLogException
public void setIsEnabled(boolean IsEnabled)
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException,
ArgumentException,
InvalidOperationException,
ObjectDisposedException,
EventLogNotFoundException,
EventLogInvalidDataException,
OperationCanceledException,
EventLogProviderDisabledException,
UnauthorizedAccessException,
EventLogReadingException,
EventLogException
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionArgumentExceptionInvalidOperationExceptionObjectDisposedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setLogFilePath(java.lang.String LogFilePath)
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException,
ArgumentException,
InvalidOperationException,
ObjectDisposedException,
EventLogNotFoundException,
EventLogInvalidDataException,
OperationCanceledException,
EventLogProviderDisabledException,
UnauthorizedAccessException,
EventLogReadingException,
EventLogException
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionArgumentExceptionInvalidOperationExceptionObjectDisposedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionpublic void setLogMode(EventLogMode LogMode) throws java.lang.Throwable
java.lang.Throwablepublic void setMaximumSizeInBytes(long MaximumSizeInBytes)
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException,
ArgumentException,
InvalidOperationException,
ObjectDisposedException,
EventLogNotFoundException,
EventLogInvalidDataException,
OperationCanceledException,
EventLogProviderDisabledException,
UnauthorizedAccessException,
EventLogReadingException,
EventLogException
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionArgumentExceptionInvalidOperationExceptionObjectDisposedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionpublic void setSecurityDescriptor(java.lang.String SecurityDescriptor)
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException,
ArgumentException,
InvalidOperationException,
ObjectDisposedException,
EventLogNotFoundException,
EventLogInvalidDataException,
OperationCanceledException,
EventLogProviderDisabledException,
UnauthorizedAccessException,
EventLogReadingException,
EventLogException
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionArgumentExceptionInvalidOperationExceptionObjectDisposedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogException