Assumes.False 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
False(Boolean, ValidationInterpolatedStringHandlerInvertedCondition) |
Throws an public exception if a condition evaluates to true. |
False(Boolean, String) |
Throws an public exception if a condition evaluates to true. |
False(Boolean, String, Object) |
Throws an public exception if a condition evaluates to true. |
False(Boolean, String, Object[]) |
Throws an public exception if a condition evaluates to true. |
False(Boolean, ValidationInterpolatedStringHandlerInvertedCondition)
Throws an public exception if a condition evaluates to 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)
Parameters
- condition
- Boolean
- message
- Microsoft.ValidationInterpolatedStringHandlerInvertedCondition
- Attributes
Applies to
False(Boolean, String)
Throws an public exception if a condition evaluates to 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)
Parameters
- condition
- Boolean
- message
- String
- Attributes
Applies to
False(Boolean, String, Object)
Throws an public exception if a condition evaluates to 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)
Parameters
- condition
- Boolean
- unformattedMessage
- String
- arg1
- Object
- Attributes
Applies to
False(Boolean, String, Object[])
Throws an public exception if a condition evaluates to 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())
Parameters
- condition
- Boolean
- unformattedMessage
- String
- args
- Object[]
- Attributes