TeamFoundationServerException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the TeamFoundationServerException class from serialized data.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaração
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected TeamFoundationServerException(
SerializationInfo info,
StreamingContext context
)
protected:
TeamFoundationServerException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> TeamFoundationServerException
protected function TeamFoundationServerException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
The object holding the serialized data.
- context
Type: System.Runtime.Serialization.StreamingContext
The context information about the source or destination of the serialized data.
.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
TeamFoundationServerException Class