ServicingLogWriter.Write Method (ServicingJobDetail, 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 ( _
servicingJobDetail As ServicingJobDetail, _
stepDetails As List(Of ServicingStepDetail), _
fileName As String _
) As String
public string Write(
ServicingJobDetail servicingJobDetail,
List<ServicingStepDetail> stepDetails,
string fileName
)
public:
String^ Write(
ServicingJobDetail^ servicingJobDetail,
List<ServicingStepDetail^>^ stepDetails,
String^ fileName
)
member Write :
servicingJobDetail:ServicingJobDetail *
stepDetails:List<ServicingStepDetail> *
fileName:string -> string
public function Write(
servicingJobDetail : ServicingJobDetail,
stepDetails : List<ServicingStepDetail>,
fileName : String
) : String
Parameters
- servicingJobDetail
Type: Microsoft.TeamFoundation.Framework.Server.ServicingJobDetail
- 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.