Debug.AssertInterpolatedStringHandler(Int32, Int32, Boolean, Boolean) 建構函式

定義

建立處理程序的實例。

public:
 AssertInterpolatedStringHandler(int literalLength, int formattedCount, bool condition, [Runtime::InteropServices::Out] bool % shouldAppend);
public AssertInterpolatedStringHandler (int literalLength, int formattedCount, bool condition, out bool shouldAppend);
new System.Diagnostics.Debug.AssertInterpolatedStringHandler : int * int * bool * bool -> System.Diagnostics.Debug.AssertInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, condition As Boolean, ByRef shouldAppend As Boolean)

參數

literalLength
Int32

內插補點字串中內插補點表達式之外的常數位元數目。

formattedCount
Int32

內插補點字串中的插補表達式數目。

condition
Boolean

傳遞至 Debug 方法的條件布爾值。

shouldAppend
Boolean

值,指出格式設定是否應該繼續進行。

備註

這僅供編譯程式產生的程式代碼呼叫。 自變數不會經過驗證,否則會針對要直接使用的成員進行驗證。

適用於