共用方式為


TeamFoundationApplication.Log Method (String, Int32, EventLogEntryType)

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

Syntax

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

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationApplication Class

Log Overload

Microsoft.TeamFoundation.Framework.Server Namespace