Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TeamFoundationEventLog Class

Team Foundation Log class.

System.Object
  Microsoft.TeamFoundation.Framework.Server.TeamFoundationEventLog

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

public sealed class TeamFoundationEventLog

The TeamFoundationEventLog type exposes the following members.

  NameDescription
Public methodTeamFoundationEventLog(String)See overload.
Public methodTeamFoundationEventLog(String, Assembly)Create an instance of the Team Foundation log.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodLog(TeamFoundationRequestContext, String)Log a message as type Information.
Public methodLog(TeamFoundationRequestContext, String, EventLogEntryType)Log a message that has a default event.
Public methodLog(TeamFoundationRequestContext, String, Int32)Log a message that has a default event.
Public methodLog(TeamFoundationRequestContext, String, Int32, EventLogEntryType)Write an entry to the system event log.
Public methodLog(TeamFoundationRequestContext, String, String, Int32, EventLogEntryType)Write an entry to the system event log with a custom eventlog message header.
Public methodLogException(TeamFoundationRequestContext, String, Exception)See overload.
Public methodLogException(TeamFoundationRequestContext, String, Exception, EventLogEntryType)See overload.
Public methodLogException(TeamFoundationRequestContext, String, Exception, Int32)See overload.
Public methodLogException(TeamFoundationRequestContext, String, Exception, Int32, EventLogEntryType)See overload.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

This class is sealed—all Team Foundation logging functionality should be added to this class.

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