Verify.FailOperation 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
FailOperation(String) |
을 InvalidOperationExceptionthrow합니다. |
FailOperation(String, Object[]) |
을 InvalidOperationExceptionthrow합니다. |
FailOperation(String)
을 InvalidOperationExceptionthrow합니다.
[System.Diagnostics.DebuggerStepThrough]
public static Exception FailOperation (string message);
[<System.Diagnostics.DebuggerStepThrough>]
static member FailOperation : string -> Exception
Public Shared Function FailOperation (message As String) As Exception
매개 변수
- message
- String
반환
아무 일도 일어나지 않습니다. 이 메서드는 항상 throw합니다. 서명은 호출자가 C# 실행 경로 제약 조건을 충족하도록 이 메서드를 throw할 수 있도록 예외를 반환한다고 주장합니다.
- 특성
적용 대상
FailOperation(String, Object[])
을 InvalidOperationExceptionthrow합니다.
public:
static Exception ^ FailOperation(System::String ^ message, ... cli::array <System::Object ^> ^ args);
[System.Diagnostics.DebuggerStepThrough]
public static Exception FailOperation (string message, params object?[] args);
[<System.Diagnostics.DebuggerStepThrough>]
static member FailOperation : string * obj[] -> Exception
Public Shared Function FailOperation (message As String, ParamArray args As Object()) As Exception
매개 변수
- message
- String
- args
- Object[]
반환
아무 일도 일어나지 않습니다. 이 메서드는 항상 throw합니다. 서명은 호출자가 C# 실행 경로 제약 조건을 충족하도록 이 메서드를 throw할 수 있도록 예외를 반환한다고 주장합니다.
- 특성