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