TeamFoundationTextWriterTraceListener.Fail Method (String, String)

Log a failure.

Namespace:  Microsoft.TeamFoundation
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Public Overrides Sub Fail ( _
    message As String, _
    detailedMessage As String _
)
public override void Fail(
    string message,
    string detailedMessage
)
public:
virtual void Fail(
    String^ message, 
    String^ detailedMessage
) override
abstract Fail : 
        message:string * 
        detailedMessage:string -> unit 
override Fail : 
        message:string * 
        detailedMessage:string -> unit 
public override function Fail(
    message : String, 
    detailedMessage : String
)

Parameters

  • detailedMessage
    Type: System.String
    A detailed message describing the failure.

.NET Framework Security

See Also

Reference

TeamFoundationTextWriterTraceListener Class

Fail Overload

Microsoft.TeamFoundation Namespace