public class EventLogReader extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Diagnostics.Eventing.Reader.EventLogReader
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.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Core
|
static java.lang.String |
className
Qualified class name: System.Diagnostics.Eventing.Reader.EventLogReader
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
EventLogReader() |
EventLogReader(EventLogQuery eventQuery) |
EventLogReader(EventLogQuery eventQuery,
EventBookmark bookmark) |
EventLogReader(java.lang.Object instance)
Internal constructor.
|
EventLogReader(java.lang.String path) |
EventLogReader(java.lang.String path,
PathType pathType) |
| Modifier and Type | Method and Description |
|---|---|
void |
CancelReading() |
static EventLogReader |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into EventLogReader, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Dispose() |
int |
getBatchSize() |
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
|
EventRecord |
ReadEvent() |
EventRecord |
ReadEvent(TimeSpan timeout) |
void |
Seek(EventBookmark bookmark) |
void |
Seek(EventBookmark bookmark,
long offset) |
void |
Seek(SeekOrigin origin,
long offset) |
void |
setBatchSize(int BatchSize) |
void |
setJCOInstance(JCObject instance) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public EventLogReader()
throws java.lang.Throwable
java.lang.Throwablepublic EventLogReader(EventLogQuery eventQuery) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, NullReferenceException, NotSupportedException, PlatformNotSupportedException, EventLogNotFoundException, EventLogInvalidDataException, OperationCanceledException, EventLogProviderDisabledException, UnauthorizedAccessException, EventLogReadingException, EventLogException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionNullReferenceExceptionNotSupportedExceptionPlatformNotSupportedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionpublic EventLogReader(EventLogQuery eventQuery, EventBookmark bookmark) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, NullReferenceException, NotSupportedException, PlatformNotSupportedException, EventLogNotFoundException, EventLogInvalidDataException, OperationCanceledException, EventLogProviderDisabledException, UnauthorizedAccessException, EventLogReadingException, EventLogException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionNullReferenceExceptionNotSupportedExceptionPlatformNotSupportedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionpublic EventLogReader(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic EventLogReader(java.lang.String path)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
NullReferenceException,
NotSupportedException,
PlatformNotSupportedException,
EventLogNotFoundException,
EventLogInvalidDataException,
OperationCanceledException,
EventLogProviderDisabledException,
UnauthorizedAccessException,
EventLogReadingException,
EventLogException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionNullReferenceExceptionNotSupportedExceptionPlatformNotSupportedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionpublic EventLogReader(java.lang.String path,
PathType pathType)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
NullReferenceException,
NotSupportedException,
PlatformNotSupportedException,
EventLogNotFoundException,
EventLogInvalidDataException,
OperationCanceledException,
EventLogProviderDisabledException,
UnauthorizedAccessException,
EventLogReadingException,
EventLogException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionNullReferenceExceptionNotSupportedExceptionPlatformNotSupportedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionpublic void CancelReading()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
NullReferenceException,
NotSupportedException,
EventLogNotFoundException,
EventLogInvalidDataException,
OperationCanceledException,
EventLogProviderDisabledException,
UnauthorizedAccessException,
EventLogReadingException,
EventLogException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionNullReferenceExceptionNotSupportedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionpublic static EventLogReader cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into EventLogReader, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedEventLogReader 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,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
NullReferenceException,
NotSupportedException
public int getBatchSize()
throws java.lang.Throwable
java.lang.Throwablepublic 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 EventRecord ReadEvent() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, NullReferenceException, NotSupportedException, EventLogNotFoundException, EventLogInvalidDataException, OperationCanceledException, EventLogProviderDisabledException, UnauthorizedAccessException, EventLogReadingException, EventLogException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionNullReferenceExceptionNotSupportedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionpublic EventRecord ReadEvent(TimeSpan timeout) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, NullReferenceException, NotSupportedException, EventLogNotFoundException, EventLogInvalidDataException, OperationCanceledException, EventLogProviderDisabledException, UnauthorizedAccessException, EventLogReadingException, EventLogException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionNullReferenceExceptionNotSupportedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionpublic void Seek(EventBookmark bookmark) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, NullReferenceException, NotSupportedException, PlatformNotSupportedException, EventLogNotFoundException, EventLogInvalidDataException, OperationCanceledException, EventLogProviderDisabledException, UnauthorizedAccessException, EventLogReadingException, EventLogException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionNullReferenceExceptionNotSupportedExceptionPlatformNotSupportedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionpublic void Seek(EventBookmark bookmark, long offset) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, NullReferenceException, NotSupportedException, PlatformNotSupportedException, EventLogNotFoundException, EventLogInvalidDataException, OperationCanceledException, EventLogProviderDisabledException, UnauthorizedAccessException, EventLogReadingException, EventLogException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionNullReferenceExceptionNotSupportedExceptionPlatformNotSupportedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionpublic void Seek(SeekOrigin origin, long offset) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, NullReferenceException, NotSupportedException, EventLogNotFoundException, EventLogInvalidDataException, OperationCanceledException, EventLogProviderDisabledException, UnauthorizedAccessException, EventLogReadingException, EventLogException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionNullReferenceExceptionNotSupportedExceptionEventLogNotFoundExceptionEventLogInvalidDataExceptionOperationCanceledExceptionEventLogProviderDisabledExceptionUnauthorizedAccessExceptionEventLogReadingExceptionEventLogExceptionpublic void setBatchSize(int BatchSize)
throws java.lang.Throwable,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObject