Share via


Verify Class

Definition

Common runtime checks that throw exceptions upon failure.

public ref class Verify abstract sealed
public static class Verify
type Verify = class
Public Class Verify
Inheritance
Verify

Methods

FailOperation(String, Object[])

Throws an InvalidOperationException.

FailOperation(String)

Throws an InvalidOperationException.

HResult(Int32, Boolean)

Throws an exception if the given value is negative.

NotDisposed(Boolean, Object, String)

Throws an ObjectDisposedException if a condition is false.

NotDisposed(Boolean, String)

Throws an ObjectDisposedException if a condition is false.

NotDisposed(IDisposableObservable, String)

Throws an ObjectDisposedException if an object is disposed.

Operation(Boolean, String, Object, Object)

Throws an InvalidOperationException if a condition is false.

Operation(Boolean, String, Object)

Throws an InvalidOperationException if a condition is false.

Operation(Boolean, String, Object[])

Throws an InvalidOperationException if a condition is false.

Operation(Boolean, String)

Throws an InvalidOperationException if a condition is false.

Operation(Boolean, ValidationInterpolatedStringHandler)

Throws an InvalidOperationException if a condition is false.

OperationWithHelp(Boolean, String, String)

Throws an InvalidOperationException if a condition is false.

Applies to