TeamFoundationEventLogger.Log 方法 (TeamFoundationRequestContext, String, String, Int32, EventLogEntryType)
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public Shared Sub Log ( _
requestContext As TeamFoundationRequestContext, _
messageBrief As String, _
message As String, _
eventId As Integer, _
level As EventLogEntryType _
)
public static void Log(
TeamFoundationRequestContext requestContext,
string messageBrief,
string message,
int eventId,
EventLogEntryType level
)
參數
- requestContext
類型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- messageBrief
類型:System.String
- message
類型:System.String
- eventId
類型:System.Int32
- level
類型:System.Diagnostics.EventLogEntryType
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱 從部分受信任程式碼使用程式庫。