public class EventRecord extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Diagnostics.Eventing.Reader.EventRecord
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.Eventing.Reader.EventRecord
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
EventRecord() |
EventRecord(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static EventRecord |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into EventRecord, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Dispose()
Invokes the .NET member Dispose.
|
java.lang.String |
FormatDescription()
Invokes the .NET member FormatDescription.
|
java.lang.String |
FormatDescription(IEnumerable_1 values)
Invokes the .NET member FormatDescription.
|
Nullable_1 |
getActivityId()
Gets the value of the .NET property ActivityId.
|
EventBookmark |
getBookmark()
Gets the value of the .NET property Bookmark.
|
int |
getId()
Gets the value of the .NET property Id.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
Nullable_1 |
getKeywords()
Gets the value of the .NET property Keywords.
|
IEnumerable_1 |
getKeywordsDisplayNames()
Gets the value of the .NET property KeywordsDisplayNames.
|
Nullable_1 |
getLevel()
Gets the value of the .NET property Level.
|
java.lang.String |
getLevelDisplayName()
Gets the value of the .NET property LevelDisplayName.
|
java.lang.String |
getLogName()
Gets the value of the .NET property LogName.
|
java.lang.String |
getMachineName()
Gets the value of the .NET property MachineName.
|
Nullable_1 |
getOpcode()
Gets the value of the .NET property Opcode.
|
java.lang.String |
getOpcodeDisplayName()
Gets the value of the .NET property OpcodeDisplayName.
|
Nullable_1 |
getProcessId()
Gets the value of the .NET property ProcessId.
|
IList_1 |
getProperties()
Gets the value of the .NET property Properties.
|
Nullable_1 |
getProviderId()
Gets the value of the .NET property ProviderId.
|
java.lang.String |
getProviderName()
Gets the value of the .NET property ProviderName.
|
Nullable_1 |
getQualifiers()
Gets the value of the .NET property Qualifiers.
|
Nullable_1 |
getRecordId()
Gets the value of the .NET property RecordId.
|
Nullable_1 |
getRelatedActivityId()
Gets the value of the .NET property RelatedActivityId.
|
Nullable_1 |
getTask()
Gets the value of the .NET property Task.
|
java.lang.String |
getTaskDisplayName()
Gets the value of the .NET property TaskDisplayName.
|
Nullable_1 |
getThreadId()
Gets the value of the .NET property ThreadId.
|
Nullable_1 |
getTimeCreated()
Gets the value of the .NET property TimeCreated.
|
SecurityIdentifier |
getUserId()
Gets the value of the .NET property UserId.
|
Nullable_1 |
getVersion()
Gets the value of the .NET property Version.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
java.lang.String |
ToXml()
Invokes the .NET member ToXml.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public EventRecord()
throws java.lang.Throwable
java.lang.Throwablepublic EventRecord(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static EventRecord cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into EventRecord, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedEventRecord 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,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic java.lang.String FormatDescription()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String FormatDescription(IEnumerable_1 values) throws java.lang.Throwable
values - the argument of type IEnumerable_1java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 getActivityId() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic EventBookmark getBookmark() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getId()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic Nullable_1 getKeywords() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IEnumerable_1 getKeywordsDisplayNames() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 getLevel() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getLevelDisplayName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getLogName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getMachineName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 getOpcode() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getOpcodeDisplayName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 getProcessId() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IList_1 getProperties() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 getProviderId() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getProviderName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 getQualifiers() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 getRecordId() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 getRelatedActivityId() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 getTask() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getTaskDisplayName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 getThreadId() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 getTimeCreated() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic SecurityIdentifier getUserId() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 getVersion() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic java.lang.String ToXml()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLR