共用方式為


LoadTestRunIdNotSetException 建構函式 (SerializationInfo, StreamingContext)

針對序列化,初始化 LoadTestRunIdNotSetException 類別的新執行個體。

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

語法

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

參數

.NET Framework 安全性

請參閱

參考

LoadTestRunIdNotSetException 類別

LoadTestRunIdNotSetException 多載

Microsoft.VisualStudio.TestTools.LoadTesting 命名空間

SerializationInfo

StreamingContext