Sdílet prostřednictvím


Assumes.False Metoda

Definice

Přetížení

False(Boolean, ValidationInterpolatedStringHandlerInvertedCondition)

Vyvolá veřejnou výjimku, pokud se podmínka vyhodnotí jako true.

False(Boolean, String)

Vyvolá veřejnou výjimku, pokud se podmínka vyhodnotí jako true.

False(Boolean, String, Object)

Vyvolá veřejnou výjimku, pokud se podmínka vyhodnotí jako true.

False(Boolean, String, Object[])

Vyvolá veřejnou výjimku, pokud se podmínka vyhodnotí jako true.

False(Boolean, ValidationInterpolatedStringHandlerInvertedCondition)

Vyvolá veřejnou výjimku, pokud se podmínka vyhodnotí jako true.

[System.Diagnostics.DebuggerStepThrough]
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
public static void False (bool condition, ref Microsoft.ValidationInterpolatedStringHandlerInvertedCondition message);
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")>]
static member False : bool * ValidationInterpolatedStringHandlerInvertedCondition -> unit
Public Shared Sub False (condition As Boolean, ByRef message As ValidationInterpolatedStringHandlerInvertedCondition)

Parametry

condition
Boolean
message
Microsoft.ValidationInterpolatedStringHandlerInvertedCondition
Atributy

Platí pro

False(Boolean, String)

Vyvolá veřejnou výjimku, pokud se podmínka vyhodnotí jako true.

[System.Diagnostics.DebuggerStepThrough]
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
public static void False (bool condition, string? message = default);
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")>]
static member False : bool * string -> unit
Public Shared Sub False (condition As Boolean, Optional message As String = Nothing)

Parametry

condition
Boolean
message
String
Atributy

Platí pro

False(Boolean, String, Object)

Vyvolá veřejnou výjimku, pokud se podmínka vyhodnotí jako true.

public:
 static void False(bool condition, System::String ^ unformattedMessage, System::Object ^ arg1);
[System.Diagnostics.DebuggerStepThrough]
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
public static void False (bool condition, string unformattedMessage, object? arg1);
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")>]
static member False : bool * string * obj -> unit
Public Shared Sub False (condition As Boolean, unformattedMessage As String, arg1 As Object)

Parametry

condition
Boolean
unformattedMessage
String
arg1
Object
Atributy

Platí pro

False(Boolean, String, Object[])

Vyvolá veřejnou výjimku, pokud se podmínka vyhodnotí jako true.

public:
 static void False(bool condition, System::String ^ unformattedMessage, ... cli::array <System::Object ^> ^ args);
[System.Diagnostics.DebuggerStepThrough]
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
public static void False (bool condition, string unformattedMessage, params object?[] args);
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")>]
static member False : bool * string * obj[] -> unit
Public Shared Sub False (condition As Boolean, unformattedMessage As String, ParamArray args As Object())

Parametry

condition
Boolean
unformattedMessage
String
args
Object[]
Atributy

Platí pro