NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DefaultTraceListener.Fail (String)

Emits or displays a message and a stack trace for an assertion that always fails.

[Visual Basic]
Overloads Overrides Public Sub Fail( _
   ByVal message As String _
)
[C#]
public override void Fail(
   string message
);
[C++]
public: override void Fail(
   String* message
);
[JScript]
public override function Fail(
   message : String
);

Parameters

message
A message to emit or display.

Remarks

By default, this method outputs the message, detailedMessage and a stack trace to a message box when the application is running in a user interface mode, and to the instance of this class.

See Also

DefaultTraceListener Class | DefaultTraceListener Members | System.Diagnostics Namespace | DefaultTraceListener.Fail Overload List | TraceListener | DefaultTraceListener | TextWriterTraceListener | Debug | Trace