TeamFoundationTracingService.TraceProvider.TraceActivityLog Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function TraceActivityLog ( _
hostId As Guid, _
contextId As Long, _
application As String, _
command As String, _
status As Integer, _
executionCount 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 TraceActivityLog(
Guid hostId,
long contextId,
string application,
string command,
int status,
int executionCount,
DateTime startTime,
long executionTime,
string identityName,
string ipAddress,
Guid uniqueIdentifier,
string userAgent,
string commandIdentifier,
string exceptionType,
string exceptionMessage,
Guid activityId
)
public:
bool TraceActivityLog(
Guid hostId,
long long contextId,
String^ application,
String^ command,
int status,
int executionCount,
DateTime startTime,
long long executionTime,
String^ identityName,
String^ ipAddress,
Guid uniqueIdentifier,
String^ userAgent,
String^ commandIdentifier,
String^ exceptionType,
String^ exceptionMessage,
Guid activityId
)
member TraceActivityLog :
hostId:Guid *
contextId:int64 *
application:string *
command:string *
status:int *
executionCount:int *
startTime:DateTime *
executionTime:int64 *
identityName:string *
ipAddress:string *
uniqueIdentifier:Guid *
userAgent:string *
commandIdentifier:string *
exceptionType:string *
exceptionMessage:string *
activityId:Guid -> bool
public function TraceActivityLog(
hostId : Guid,
contextId : long,
application : String,
command : String,
status : int,
executionCount : int,
startTime : DateTime,
executionTime : long,
identityName : String,
ipAddress : String,
uniqueIdentifier : Guid,
userAgent : String,
commandIdentifier : String,
exceptionType : String,
exceptionMessage : String,
activityId : Guid
) : boolean
Parameters
- hostId
Type: System.Guid
- contextId
Type: System.Int64
- application
Type: System.String
- command
Type: System.String
- status
Type: System.Int32
- executionCount
Type: System.Int32
- startTime
Type: System.DateTime
- executionTime
Type: System.Int64
- identityName
Type: System.String
- ipAddress
Type: System.String
- uniqueIdentifier
Type: System.Guid
- userAgent
Type: System.String
- commandIdentifier
Type: System.String
- exceptionType
Type: System.String
- exceptionMessage
Type: System.String
- activityId
Type: System.Guid
Return Value
Type: System.Boolean
Returns Boolean.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.