Delen via


TeamFoundationEventLog.Log Method (TeamFoundationRequestContext, String, EventLogEntryType)

Log a message that has a default event.

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

Syntax

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

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationEventLog Class

Log Overload

Microsoft.TeamFoundation.Framework.Server Namespace