Report.IfNot 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
IfNot(Boolean, ValidationInterpolatedStringHandler) |
조건이 true로 평가되지 않으면 오류를 보고합니다. |
IfNot(Boolean, String) |
조건이 true로 평가되지 않으면 오류를 보고합니다. |
IfNot(Boolean, String, Object) |
조건이 true로 평가되지 않으면 오류를 보고합니다. |
IfNot(Boolean, String, Object[]) |
조건이 true로 평가되지 않으면 오류를 보고합니다. |
IfNot(Boolean, String, Object, Object) |
조건이 true로 평가되지 않으면 오류를 보고합니다. |
IfNot(Boolean, ValidationInterpolatedStringHandler)
조건이 true로 평가되지 않으면 오류를 보고합니다.
[System.Diagnostics.Conditional("DEBUG")]
public static void IfNot (bool condition, ref Microsoft.ValidationInterpolatedStringHandler message);
[<System.Diagnostics.Conditional("DEBUG")>]
static member IfNot : bool * ValidationInterpolatedStringHandler -> unit
Public Shared Sub IfNot (condition As Boolean, ByRef message As ValidationInterpolatedStringHandler)
매개 변수
- condition
- Boolean
- message
- Microsoft.ValidationInterpolatedStringHandler
- 특성
적용 대상
IfNot(Boolean, String)
조건이 true로 평가되지 않으면 오류를 보고합니다.
[System.Diagnostics.Conditional("DEBUG")]
public static void IfNot (bool condition, string? message = default);
[<System.Diagnostics.Conditional("DEBUG")>]
static member IfNot : bool * string -> unit
Public Shared Sub IfNot (condition As Boolean, Optional message As String = Nothing)
매개 변수
- condition
- Boolean
- message
- String
- 특성
적용 대상
IfNot(Boolean, String, Object)
조건이 true로 평가되지 않으면 오류를 보고합니다.
public:
static void IfNot(bool condition, System::String ^ message, System::Object ^ arg1);
[System.Diagnostics.Conditional("DEBUG")]
public static void IfNot (bool condition, string message, object? arg1);
[<System.Diagnostics.Conditional("DEBUG")>]
static member IfNot : bool * string * obj -> unit
Public Shared Sub IfNot (condition As Boolean, message As String, arg1 As Object)
매개 변수
- condition
- Boolean
- message
- String
- arg1
- Object
- 특성
적용 대상
IfNot(Boolean, String, Object[])
조건이 true로 평가되지 않으면 오류를 보고합니다.
public:
static void IfNot(bool condition, System::String ^ message, ... cli::array <System::Object ^> ^ args);
[System.Diagnostics.Conditional("DEBUG")]
public static void IfNot (bool condition, string message, params object?[] args);
[<System.Diagnostics.Conditional("DEBUG")>]
static member IfNot : bool * string * obj[] -> unit
Public Shared Sub IfNot (condition As Boolean, message As String, ParamArray args As Object())
매개 변수
- condition
- Boolean
- message
- String
- args
- Object[]
- 특성
적용 대상
IfNot(Boolean, String, Object, Object)
조건이 true로 평가되지 않으면 오류를 보고합니다.
public:
static void IfNot(bool condition, System::String ^ message, System::Object ^ arg1, System::Object ^ arg2);
[System.Diagnostics.Conditional("DEBUG")]
public static void IfNot (bool condition, string message, object? arg1, object? arg2);
[<System.Diagnostics.Conditional("DEBUG")>]
static member IfNot : bool * string * obj * obj -> unit
Public Shared Sub IfNot (condition As Boolean, message As String, arg1 As Object, arg2 As Object)
매개 변수
- condition
- Boolean
- message
- String
- arg1
- Object
- arg2
- Object
- 특성