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
serializationInfo
Type: System.Runtime.Serialization.SerializationInfoThe serialization info.
streamingContext
Type: System.Runtime.Serialization.StreamingContextThe 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.