Report.Fail Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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