CannotFindLatestChangesetException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the CannotFindLatestChangesetException class.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected CannotFindLatestChangesetException(
SerializationInfo info,
StreamingContext context
)
protected:
CannotFindLatestChangesetException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> CannotFindLatestChangesetException
protected function CannotFindLatestChangesetException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoA SerializationInfo object that contains the information required to serialize the new CannotFindLatestChangesetException instance.
context
Type: System.Runtime.Serialization.StreamingContextA StreamingContext object that contains the source and destination of the serialized stream associated with the CannotFindLatestChangesetExceptioninstance.
.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
CannotFindLatestChangesetException Class