Class EventLogSource
- Namespace
- ArcanaDevelopment.adTempus.Shared
- Assembly
- ArcanaDevelopment.adTempus.Shared.dll
Contains information about an Event Log source
[Serializable]
[DataContract]
public class EventLogSource
- Inheritance
-
objectEventLogSource
Fields
DisplayName
The display name of the source
[DataMember]
public string DisplayName
Field Value
- string
EventCategories
List of categories supported by this source
[DataMember]
public List<EventLogSourceCategory> EventCategories
Field Value
- List<EventLogSourceCategory>
Name
The name of the source
[DataMember]
public string Name
Field Value
- string
Properties
StrippedName
Gets the DisplayName, if set, or else the Name. Removes name qualifiers.
public string StrippedName { get; }
Property Value
- string
Remarks
For qualified names such as "Microsoft-Windows-Service Control Manager", StrippedName returns only the last node of the name.
Methods
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.