TFSProvider.EventWriteEvent_ActivityLog_Info 方法
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public Function EventWriteEvent_ActivityLog_Info ( _
HostId As Guid, _
ContextId As Long, _
Application As String, _
Command As String, _
Status As Integer, _
Count As Integer, _
StartTime As DateTime, _
ExecutionTime As Long, _
IdentityName As String, _
IPAddress As String, _
UniqueIdentifier As Guid, _
UserAgent As String, _
CommandIdentifier As String, _
ExceptionType As String, _
ExceptionMessage As String, _
ActivityId As Guid _
) As Boolean
public bool EventWriteEvent_ActivityLog_Info(
Guid HostId,
long ContextId,
string Application,
string Command,
int Status,
int Count,
DateTime StartTime,
long ExecutionTime,
string IdentityName,
string IPAddress,
Guid UniqueIdentifier,
string UserAgent,
string CommandIdentifier,
string ExceptionType,
string ExceptionMessage,
Guid ActivityId
)
參數
- HostId
類型:System.Guid
- ContextId
類型:System.Int64
- Application
類型:System.String
- Command
類型:System.String
- Status
類型:System.Int32
- Count
類型:System.Int32
- StartTime
類型:System.DateTime
- ExecutionTime
類型:System.Int64
- IdentityName
類型:System.String
- IPAddress
類型:System.String
- UniqueIdentifier
類型:System.Guid
- UserAgent
類型:System.String
- CommandIdentifier
類型:System.String
- ExceptionType
類型:System.String
- ExceptionMessage
類型:System.String
- ActivityId
類型:System.Guid
傳回值
類型:System.Boolean
傳回 Boolean。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。