Assert.AssertNonStrictThrowsInterpolatedStringHandler<TException> Constructors
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
Assert.AssertNonStrictThrowsInterpolatedStringHandler<TException>(Int32, Int32, Action, Boolean) | |
Assert.AssertNonStrictThrowsInterpolatedStringHandler<TException>(Int32, Int32, Func<Object>, Boolean) |
Assert.AssertNonStrictThrowsInterpolatedStringHandler<TException>(Int32, Int32, Action, Boolean)
- Source:
- Assert.ThrowsException.cs
- Source:
- Assert.ThrowsException.cs
public AssertNonStrictThrowsInterpolatedStringHandler(int literalLength, int formattedCount, Action action, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonStrictThrowsInterpolatedStringHandler<'Exception (requires 'Exception :> Exception)> : int * int * Action * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonStrictThrowsInterpolatedStringHandler<'Exception (requires 'Exception :> Exception)>
Public Sub New (literalLength As Integer, formattedCount As Integer, action As Action, ByRef shouldAppend As Boolean)
Parameters
- literalLength
- Int32
- formattedCount
- Int32
- action
- Action
- shouldAppend
- Boolean
Applies to
Assert.AssertNonStrictThrowsInterpolatedStringHandler<TException>(Int32, Int32, Func<Object>, Boolean)
- Source:
- Assert.ThrowsException.cs
public AssertNonStrictThrowsInterpolatedStringHandler(int literalLength, int formattedCount, Func<object?> action, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonStrictThrowsInterpolatedStringHandler<'Exception (requires 'Exception :> Exception)> : int * int * Func<obj> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonStrictThrowsInterpolatedStringHandler<'Exception (requires 'Exception :> Exception)>
Public Sub New (literalLength As Integer, formattedCount As Integer, action As Func(Of Object), ByRef shouldAppend As Boolean)
Parameters
- literalLength
- Int32
- formattedCount
- Int32
- shouldAppend
- Boolean