Verify.Operation 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
Operation(Boolean, ValidationInterpolatedStringHandler) |
Lève un InvalidOperationException si une condition a la valeur false. |
Operation(Boolean, String) |
Lève un InvalidOperationException si une condition a la valeur false. |
Operation(Boolean, String, Object) |
Lève un InvalidOperationException si une condition a la valeur false. |
Operation(Boolean, String, Object[]) |
Lève un InvalidOperationException si une condition a la valeur false. |
Operation(Boolean, String, Object, Object) |
Lève un InvalidOperationException si une condition a la valeur false. |
Operation(Boolean, ValidationInterpolatedStringHandler)
Lève un InvalidOperationException si une condition a la valeur false.
[System.Diagnostics.DebuggerStepThrough]
public static void Operation (bool condition, ref Microsoft.ValidationInterpolatedStringHandler message);
[<System.Diagnostics.DebuggerStepThrough>]
static member Operation : bool * ValidationInterpolatedStringHandler -> unit
Public Shared Sub Operation (condition As Boolean, ByRef message As ValidationInterpolatedStringHandler)
Paramètres
- condition
- Boolean
- message
- Microsoft.ValidationInterpolatedStringHandler
- Attributs
S’applique à
Operation(Boolean, String)
Lève un InvalidOperationException si une condition a la valeur false.
public:
static void Operation(bool condition, System::String ^ message);
[System.Diagnostics.DebuggerStepThrough]
public static void Operation (bool condition, string? message);
[<System.Diagnostics.DebuggerStepThrough>]
static member Operation : bool * string -> unit
Public Shared Sub Operation (condition As Boolean, message As String)
Paramètres
- condition
- Boolean
- message
- String
- Attributs
S’applique à
Operation(Boolean, String, Object)
Lève un InvalidOperationException si une condition a la valeur false.
public:
static void Operation(bool condition, System::String ^ unformattedMessage, System::Object ^ arg1);
[System.Diagnostics.DebuggerStepThrough]
public static void Operation (bool condition, string unformattedMessage, object? arg1);
[<System.Diagnostics.DebuggerStepThrough>]
static member Operation : bool * string * obj -> unit
Public Shared Sub Operation (condition As Boolean, unformattedMessage As String, arg1 As Object)
Paramètres
- condition
- Boolean
- unformattedMessage
- String
- arg1
- Object
- Attributs
S’applique à
Operation(Boolean, String, Object[])
Lève un InvalidOperationException si une condition a la valeur false.
public:
static void Operation(bool condition, System::String ^ unformattedMessage, ... cli::array <System::Object ^> ^ args);
[System.Diagnostics.DebuggerStepThrough]
public static void Operation (bool condition, string unformattedMessage, params object?[] args);
[<System.Diagnostics.DebuggerStepThrough>]
static member Operation : bool * string * obj[] -> unit
Public Shared Sub Operation (condition As Boolean, unformattedMessage As String, ParamArray args As Object())
Paramètres
- condition
- Boolean
- unformattedMessage
- String
- args
- Object[]
- Attributs
S’applique à
Operation(Boolean, String, Object, Object)
Lève un InvalidOperationException si une condition a la valeur false.
public:
static void Operation(bool condition, System::String ^ unformattedMessage, System::Object ^ arg1, System::Object ^ arg2);
[System.Diagnostics.DebuggerStepThrough]
public static void Operation (bool condition, string unformattedMessage, object? arg1, object? arg2);
[<System.Diagnostics.DebuggerStepThrough>]
static member Operation : bool * string * obj * obj -> unit
Public Shared Sub Operation (condition As Boolean, unformattedMessage As String, arg1 As Object, arg2 As Object)
Paramètres
- condition
- Boolean
- unformattedMessage
- String
- arg1
- Object
- arg2
- Object
- Attributs