Assert.AssertNonStrictThrowsAsyncInterpolatedStringHandler<TException> コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
Assert.AssertNonStrictThrowsAsyncInterpolatedStringHandler<TException> 構造体の新しいインスタンスを初期化します。
public AssertNonStrictThrowsAsyncInterpolatedStringHandler(int literalLength, int formattedCount, Func<System.Threading.Tasks.Task> action, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonStrictThrowsAsyncInterpolatedStringHandler<'Exception (requires 'Exception :> Exception)> : int * int * Func<System.Threading.Tasks.Task> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonStrictThrowsAsyncInterpolatedStringHandler<'Exception (requires 'Exception :> Exception)>
Public Sub New (literalLength As Integer, formattedCount As Integer, action As Func(Of Task), ByRef shouldAppend As Boolean)
パラメーター
- literalLength
- Int32
挿入文字列内の定数文字の数。
- formattedCount
- Int32
補間文字列内の補間式の数。
- shouldAppend
- Boolean
このメソッドから制御が戻るときに、補間された文字列を評価するかどうかを示します。