共用方式為


InternalException 建構函式 (String, Exception)

使用提供的訊息和內部例外狀況,初始化 InternalException 類別的新執行個體。

命名空間:  Microsoft.VisualStudio.TestTools.Exceptions
組件:  Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

語法

'宣告
Public Sub New ( _
    msg As String, _
    inner As Exception _
)
public InternalException(
    string msg,
    Exception inner
)
public:
InternalException(
    String^ msg, 
    Exception^ inner
)
new : 
        msg:string * 
        inner:Exception -> InternalException
public function InternalException(
    msg : String, 
    inner : Exception
)

參數

.NET Framework 安全性

請參閱

參考

InternalException 類別

InternalException 多載

Microsoft.VisualStudio.TestTools.Exceptions 命名空間