Assert.Ignore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Ignore() |
Throws an IgnoreException. This causes the test to be reported as ignored. |
Ignore(String) |
Throws an IgnoreException with the message that is passed in. This causes the test to be reported as ignored. |
Ignore(String, Object[]) |
Throws an IgnoreException with the message and arguments that are passed in. This causes the test to be reported as ignored. |
Ignore()
Throws an IgnoreException. This causes the test to be reported as ignored.
public static void Ignore ();
static member Ignore : unit -> unit
Applies to
Ignore(String)
Throws an IgnoreException with the message that is passed in. This causes the test to be reported as ignored.
public static void Ignore (string message);
static member Ignore : string -> unit
Parameters
- message
- String
The message to initialize the AssertionException with.
Applies to
Ignore(String, Object[])
Throws an IgnoreException with the message and arguments that are passed in. This causes the test to be reported as ignored.
public static void Ignore (string message, params object[] args);
static member Ignore : string * obj[] -> unit
Parameters
- message
- String
The message to initialize the AssertionException with.
- args
- Object[]
Arguments to be used in formatting the message