ValidationFailedException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the ValidationFailedException class by using the specified serialization information.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected ValidationFailedException(
SerializationInfo info,
StreamingContext context
)
protected:
ValidationFailedException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> ValidationFailedException
protected function ValidationFailedException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoThe serialization information.
context
Type: System.Runtime.Serialization.StreamingContextThe context of the serialization.
.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
ValidationFailedException Class