TestRunConfiguration 建構函式 (SerializationInfo, StreamingContext)

使用提供的資訊和內容,從 XML 初始化 TestRunConfiguration 類別的新執行個體。

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

語法

'宣告
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected TestRunConfiguration(
    SerializationInfo info,
    StreamingContext context
)
protected:
TestRunConfiguration(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> TestRunConfiguration
protected function TestRunConfiguration(
    info : SerializationInfo, 
    context : StreamingContext
)

參數

.NET Framework 安全性

請參閱

參考

TestRunConfiguration 類別

TestRunConfiguration 多載

Microsoft.VisualStudio.TestTools.Common 命名空間

SerializationInfo

StreamingContext