ServicingLogWriter.Write Method (String, DateTime, DateTime, DateTime, ServicingJobResult, List<ServicingStepDetail>, String)
Save the servicing step details to the specified log file.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function Write ( _
operationClass As String, _
queueTime As DateTime, _
startTime As DateTime, _
endTime As DateTime, _
jobResult As ServicingJobResult, _
stepDetails As List(Of ServicingStepDetail), _
fileName As String _
) As String
public string Write(
string operationClass,
DateTime queueTime,
DateTime startTime,
DateTime endTime,
ServicingJobResult jobResult,
List<ServicingStepDetail> stepDetails,
string fileName
)
public:
String^ Write(
String^ operationClass,
DateTime queueTime,
DateTime startTime,
DateTime endTime,
ServicingJobResult jobResult,
List<ServicingStepDetail^>^ stepDetails,
String^ fileName
)
member Write :
operationClass:string *
queueTime:DateTime *
startTime:DateTime *
endTime:DateTime *
jobResult:ServicingJobResult *
stepDetails:List<ServicingStepDetail> *
fileName:string -> string
public function Write(
operationClass : String,
queueTime : DateTime,
startTime : DateTime,
endTime : DateTime,
jobResult : ServicingJobResult,
stepDetails : List<ServicingStepDetail>,
fileName : String
) : String
Parameters
- operationClass
Type: System.String
- queueTime
Type: System.DateTime
- startTime
Type: System.DateTime
- endTime
Type: System.DateTime
- jobResult
Type: Microsoft.TeamFoundation.Framework.Server.ServicingJobResult
- stepDetails
Type: System.Collections.Generic.List<ServicingStepDetail>
- fileName
Type: System.String
Return Value
Type: System.String
The file name where the log was written.
.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.