Table of Contents

Class StartsWithException

Namespace
Xunit.Sdk
Assembly
xunit.v3.assert.dll

Exception thrown when Assert.StartsWith fails.

public class StartsWithException : XunitException, ISerializable, IAssertionException
Inheritance
StartsWithException
Implements
Inherited Members

Methods

ForStringNotFound(string?, string?)

Creates an instance of the StartsWithException class to be thrown when a string does not start with the given value.