Delen via


TeamFoundationApplicationCore.Log Method (TeamFoundationRequestContext, String, Int32, EventLogEntryType)

Log a general message to the event log under the TeamFoundation EventSource

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

Syntax

'Declaration
Public Shared Sub Log ( _
    requestContext As TeamFoundationRequestContext, _
    message As String, _
    eventId As Integer, _
    level As EventLogEntryType _
)
public static void Log(
    TeamFoundationRequestContext requestContext,
    string message,
    int eventId,
    EventLogEntryType level
)
public:
static void Log(
    TeamFoundationRequestContext^ requestContext, 
    String^ message, 
    int eventId, 
    EventLogEntryType level
)
static member Log : 
        requestContext:TeamFoundationRequestContext * 
        message:string * 
        eventId:int * 
        level:EventLogEntryType -> unit
public static function Log(
    requestContext : TeamFoundationRequestContext, 
    message : String, 
    eventId : int, 
    level : EventLogEntryType
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationApplicationCore Class

Log Overload

Microsoft.TeamFoundation.Framework.Server Namespace