Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the CancelException class with the specified serialization info and streaming context.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Protected Sub New ( _
    serializationInfo As SerializationInfo, _
    streamingContext As StreamingContext _
)
protected CancelException(
    SerializationInfo serializationInfo,
    StreamingContext streamingContext
)
protected:
CancelException(
    SerializationInfo^ serializationInfo, 
    StreamingContext streamingContext
)
new : 
        serializationInfo:SerializationInfo * 
        streamingContext:StreamingContext -> CancelException
protected function CancelException(
    serializationInfo : SerializationInfo, 
    streamingContext : StreamingContext
)
Parameters
- serializationInfo 
 Type: System.Runtime.Serialization.SerializationInfo- The serialization info. 
- streamingContext 
 Type: System.Runtime.Serialization.StreamingContext- The streaming context. 
.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.