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

Return Value

Type: System.String
The file name where the log was written.

.NET Framework Security

See Also

Reference

ServicingLogWriter Class

Write Overload

Microsoft.TeamFoundation.Framework.Server Namespace