命名空间: 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
返回值
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。