Share via


CannotDestroyRootException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the CannotDestroyRootException class with the specified info and context.

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 CannotDestroyRootException(
    SerializationInfo info,
    StreamingContext context
)
protected:
CannotDestroyRootException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> CannotDestroyRootException
protected function CannotDestroyRootException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

.NET Framework Security

See Also

Reference

CannotDestroyRootException Class

CannotDestroyRootException Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace