public class EventLogEntry extends Component implements ISerializable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Diagnostics.EventLogEntry
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=8.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.EventLogEntry
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
EventLogEntry() |
EventLogEntry(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static EventLogEntry |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into EventLogEntry, a cast assert is made to check if types are compatible. |
boolean |
Equals(EventLogEntry otherEntry) |
java.lang.String |
getCategory() |
short |
getCategoryNumber() |
byte[] |
getData() |
EventLogEntryType |
getEntryType() |
int |
getEventID() |
int |
getIndex() |
long |
getInstanceId() |
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 |
getMachineName() |
java.lang.String |
getMessage() |
java.lang.String[] |
getReplacementStrings() |
java.lang.String |
getSource() |
DateTime |
getTimeGenerated() |
DateTime |
getTimeWritten() |
java.lang.String |
getUserName() |
void |
setJCOInstance(JCObject instance) |
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteGetLifetimeService, InitializeLifetimeServiceEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringGetObjectData, ToISerializablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public EventLogEntry()
throws java.lang.Throwable
java.lang.Throwablepublic EventLogEntry(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static EventLogEntry cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into EventLogEntry, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedEventLogEntry instancejava.lang.Throwable - in case of error during cast operationpublic boolean Equals(EventLogEntry otherEntry) throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getCategory()
throws java.lang.Throwable,
ArgumentException,
ObjectDisposedException,
SecurityException,
UnauthorizedAccessException,
IOException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
ArgumentNullException,
NotSupportedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
RankException,
FormatException
java.lang.ThrowableArgumentExceptionObjectDisposedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionArgumentNullExceptionNotSupportedExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionRankExceptionFormatExceptionpublic short getCategoryNumber()
throws java.lang.Throwable
java.lang.Throwablepublic byte[] getData()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentNullException,
RankException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
IndexOutOfRangeException,
ArrayTypeMismatchException
public EventLogEntryType getEntryType() throws java.lang.Throwable
java.lang.Throwablepublic int getEventID()
throws java.lang.Throwable
java.lang.Throwablepublic int getIndex()
throws java.lang.Throwable
java.lang.Throwablepublic long getInstanceId()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface ISerializablegetJCOAssemblyName in class ComponentString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface ISerializablegetJCOClassName in class ComponentString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface ISerializablegetJCOInstance in class ComponentObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface ISerializablegetJCOObjectName in class ComponentString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface ISerializablegetJCOType in class ComponentJCType representing the CLR Type of the instantiated Classpublic java.lang.String getMachineName()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
OutOfMemoryException
public java.lang.String getMessage()
throws java.lang.Throwable,
ArgumentException,
ObjectDisposedException,
SecurityException,
UnauthorizedAccessException,
IOException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
ArgumentNullException,
NotSupportedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
RankException
java.lang.ThrowableArgumentExceptionObjectDisposedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionArgumentNullExceptionNotSupportedExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionRankExceptionpublic java.lang.String[] getReplacementStrings()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
OutOfMemoryException
public java.lang.String getSource()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
OutOfMemoryException
public DateTime getTimeGenerated() throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidTimeZoneException, InvalidOperationException, UnauthorizedAccessException, IOException, OverflowException
public DateTime getTimeWritten() throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidTimeZoneException, InvalidOperationException, UnauthorizedAccessException, IOException, OverflowException
public java.lang.String getUserName()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentNullException,
RankException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
OutOfMemoryException
public void setJCOInstance(JCObject instance)
setJCOInstance in class Component