EventLogStatus Class

EventLogStatus Class

 

Contains the status code or error code for a specific event log. This status can be used to determine if the event log is available for an operation.

Namespace:   System.Diagnostics.Eventing.Reader
Assembly:  System.Core (in System.Core.dll)

System::Object
  System.Diagnostics.Eventing.Reader::EventLogStatus

[HostProtectionAttribute(SecurityAction::LinkDemand, MayLeakOnAbort = true)]
public ref class EventLogStatus sealed 

NameDescription
System_CAPS_pubpropertyLogName

Gets the name of the event log for which the status code is obtained.

System_CAPS_pubpropertyStatusCode

Gets the status code or error code for the event log. This status or error is the result of a read or subscription operation on the event log.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 3.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

System.Diagnostics.Eventing.Reader Namespace
Technology Summary for Reading and Managing Event Logs
Event Log Scenarios

Return to top
Show:
© 2016 Microsoft