TestObjectNotFoundException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the TestObjectNotFoundException class from XML by using the provided serialization information and context.
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 TestObjectNotFoundException(
SerializationInfo info,
StreamingContext context
)
protected:
TestObjectNotFoundException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> TestObjectNotFoundException
protected function TestObjectNotFoundException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
info
Type: SerializationInfoA SerializationInfo object.
context
Type: StreamingContextA StreamingContext object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
TestObjectNotFoundException Class
TestObjectNotFoundException Overload