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
message
Type: System.StringA summary of the failure.
detailedMessage
Type: System.StringA detailed message that states the failure.
.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.