Partager via


CancelException Constructor (SerializationInfo, StreamingContext)

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

.NET Framework Security

See Also

Reference

CancelException Class

CancelException Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace