共用方式為


InternalTestFailureException Class

Definition

InternalTestFailureException class. Used to indicate internal failure for a test case

public ref class InternalTestFailureException : Microsoft::VisualStudio::TestTools::UnitTesting::UnitTestAssertException
[System.Serializable]
public class InternalTestFailureException : Microsoft.VisualStudio.TestTools.UnitTesting.UnitTestAssertException
[<System.Serializable>]
type InternalTestFailureException = class
    inherit UnitTestAssertException
Public Class InternalTestFailureException
Inherits UnitTestAssertException
Inheritance
InternalTestFailureException
Attributes

Remarks

This class is only added to preserve source compatibility with the V1 framework. For all practical purposes either use AssertFailedException/AssertInconclusiveException.

Constructors

InternalTestFailureException()

Initializes a new instance of the InternalTestFailureException class.

InternalTestFailureException(SerializationInfo, StreamingContext)
InternalTestFailureException(String, Exception)

Initializes a new instance of the InternalTestFailureException class.

InternalTestFailureException(String)

Initializes a new instance of the InternalTestFailureException class.

Properties

Message (Inherited from UnitTestAssertException)

Methods

GetObjectData(SerializationInfo, StreamingContext) (Inherited from UnitTestAssertException)

Applies to