Metoda TFSProvider.EventWriteEvent_ActivityLog_Info —
Przestrzeń nazw: Microsoft.TeamFoundation.Framework.Server
Zestaw: Microsoft.TeamFoundation.Framework.Server (w Microsoft.TeamFoundation.Framework.Server.dll)
Składnia
'Deklaracja
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
)
Parametry
- HostId
Typ: System.Guid
- ContextId
Typ: System.Int64
- Application
Typ: System.String
- Command
Typ: System.String
- Status
Typ: System.Int32
- Count
Typ: System.Int32
- StartTime
Typ: System.DateTime
- ExecutionTime
Typ: System.Int64
- IdentityName
Typ: System.String
- IPAddress
Typ: System.String
- UniqueIdentifier
Typ: System.Guid
- UserAgent
Typ: System.String
- CommandIdentifier
Typ: System.String
- ExceptionType
Typ: System.String
- ExceptionMessage
Typ: System.String
- ActivityId
Typ: System.Guid
Wartość zwracana
Typ: System.Boolean
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..