Freigeben über


Report.Fail Method

Definition

Overloads

Fail(String)

Reports a certain failure.

Fail(String, Object[])

Reports a certain failure.

Fail(String)

Reports a certain failure.

[System.Diagnostics.Conditional("DEBUG")]
public static void Fail (string? message = default);
[<System.Diagnostics.Conditional("DEBUG")>]
static member Fail : string -> unit
Public Shared Sub Fail (Optional message As String = Nothing)

Parameters

message
String
Attributes

Applies to

Fail(String, Object[])

Reports a certain failure.

public:
 static void Fail(System::String ^ message, ... cli::array <System::Object ^> ^ args);
[System.Diagnostics.Conditional("DEBUG")]
public static void Fail (string message, params object?[] args);
[<System.Diagnostics.Conditional("DEBUG")>]
static member Fail : string * obj[] -> unit
Public Shared Sub Fail (message As String, ParamArray args As Object())

Parameters

message
String
args
Object[]
Attributes

Applies to