Verify.FailOperation(String, Object[]) Method

Definition

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

Parameters

message
String
args
Object[]

Returns

Nothing. This method always throws. The signature claims to return an exception to allow callers to throw this method to satisfy C# execution path constraints.

Attributes

Applies to