共用方式為


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

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

Syntax

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

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationEventLog Class

Log Overload

Microsoft.TeamFoundation.Framework.Server Namespace