Verify.FailOperation 메서드

정의

오버로드

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할 수 있도록 예외를 반환한다고 주장합니다.

특성

적용 대상