Show / Hide Table of Contents

Class IsTypeException

Exception thrown when the value is unexpectedly not of the exact given type.

Inheritance
Object
XunitException
AssertActualExpectedException
IsTypeException
Inherited Members
AssertActualExpectedException.Actual
AssertActualExpectedException.ActualTitle
AssertActualExpectedException.Expected
AssertActualExpectedException.ExpectedTitle
AssertActualExpectedException.Message
XunitException.StackTrace
XunitException.UserMessage
XunitException.ToString()
Namespace: Xunit.Sdk
Assembly: xunit.assert.dll
Syntax
public class IsTypeException : AssertActualExpectedException

Constructors

| Improve this Doc View Source

IsTypeException(String, String)

Creates a new instance of the IsTypeException class.

Declaration
public IsTypeException(string expectedTypeName, string actualTypeName)
Parameters
Type Name Description
String expectedTypeName

The expected type name

String actualTypeName

The actual type name

  • Improve this Doc
  • View Source
Back to top Generated by DocFX