Assumes.False Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
False(Boolean, ValidationInterpolatedStringHandlerInvertedCondition) |
Lève une exception publique si une condition prend la valeur true. |
False(Boolean, String) |
Lève une exception publique si une condition prend la valeur true. |
False(Boolean, String, Object) |
Lève une exception publique si une condition prend la valeur true. |
False(Boolean, String, Object[]) |
Lève une exception publique si une condition prend la valeur true. |
False(Boolean, ValidationInterpolatedStringHandlerInvertedCondition)
Lève une exception publique si une condition prend la valeur 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)
Paramètres
- condition
- Boolean
- message
- Microsoft.ValidationInterpolatedStringHandlerInvertedCondition
- Attributs
S’applique à
False(Boolean, String)
Lève une exception publique si une condition prend la valeur 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)
Paramètres
- condition
- Boolean
- message
- String
- Attributs
S’applique à
False(Boolean, String, Object)
Lève une exception publique si une condition prend la valeur 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)
Paramètres
- condition
- Boolean
- unformattedMessage
- String
- arg1
- Object
- Attributs
S’applique à
False(Boolean, String, Object[])
Lève une exception publique si une condition prend la valeur 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())
Paramètres
- condition
- Boolean
- unformattedMessage
- String
- args
- Object[]
- Attributs