共用方式為


TestObjectMustBeSavedException Constructor (SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
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
)

Parameters

.NET Framework Security

See Also

Reference

TestObjectMustBeSavedException Class

TestObjectMustBeSavedException Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace

SerializationInfo

StreamingContext