Assert.Inconclusive Method
Indicates that the assertion cannot be verified.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public Shared Sub Inconclusive
public static void Inconclusive()
public:
static void Inconclusive()
static member Inconclusive : unit -> unit
public static function Inconclusive()
Exceptions
Exception | Condition |
---|---|
AssertInconclusiveException | Always thrown. |
Remarks
Similar to Fail in that it indicates an assertion is inconclusive without checking any conditions.
The code generated by Visual Studio when creating unit tests includes an Inconclusive statement as a placeholder.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UnitTesting Namespace