共用方式為


TestObjectMustBeSavedException 建構函式 (SerializationInfo, StreamingContext)

使用例外狀況的相關資訊設定 SerializationInfo

命名空間:  Microsoft.TeamFoundation.TestManagement.Client
組件:  Microsoft.TeamFoundation.TestManagement.Client (在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)

語法

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

參數

.NET Framework 安全性

請參閱

參考

TestObjectMustBeSavedException 類別

TestObjectMustBeSavedException 多載

Microsoft.TeamFoundation.TestManagement.Client 命名空間

SerializationInfo

StreamingContext