InvalidWorkItemTypeException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidWorkItemTypeException class for serialization.
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 InvalidWorkItemTypeException(
SerializationInfo info,
StreamingContext context
)
protected:
InvalidWorkItemTypeException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> InvalidWorkItemTypeException
protected function InvalidWorkItemTypeException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
A SerializationInfo object.
- context
Type: System.Runtime.Serialization.StreamingContext
A 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
InvalidWorkItemTypeException Class
InvalidWorkItemTypeException Overload