Share via


Diagnostics Members

Microsoft Robotics Class Reference

The Diagnostics type exposes the following members.

Methods

  Name Description
Public methodStatic member AttachHandler
Attachs a new handler to the current handler list
Public methodStatic member ClearActivityData
Clears an activity activity
Public methodStatic member ClearAllActivityData
Clears all activity elements
Public methodStatic member ContainsHandler
Checks to see if a handler is attached to the current handler list
Public methodStatic member ContainsHandlerOfType
checks to see if a handler of the given type is attached
Public methodStatic member DetachHandler
Detaches a handler from the current handler list
Public methodStatic member GetActivityData
Gets an activity activity
Public methodStatic member GetCategoryDescription
Returns the cached category description for a given category enumeration
Public methodStatic member GetCategoryDescriptions
Returns the entire list of cached category descriptions
Public methodStatic member GetNamespace
Gets the namespace for a category enumeration.
Public methodStatic member GetNewInstance
Gets a new diagnostics instance to use for logging
Public methodStatic member GetNewLogDetails
Creates an initial LogDetails using the cached category description for a given category enumeration
Public methodStatic member Log(Enum, array

Fields

  Name Description
Public fieldStatic member GlobalInstance
Gets the global diagnostics instance

Properties

  Name Description
Public propertyStatic member CurrentLogHandlers
Gets the list of current log handlers
Public propertyStatic member DefaultLogHandler
Gets the Default log handler

See Also

Diagnostics Class

Microsoft.Dss.Diagnostics Namespace