OperationCanceledException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the OperationCanceledException with the specified serialized data..
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected OperationCanceledException(
SerializationInfo info,
StreamingContext context
)
protected:
OperationCanceledException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> OperationCanceledException
protected function OperationCanceledException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoThe object containing the serialized data.
context
Type: System.Runtime.Serialization.StreamingContextThe context information about the source or destination of the serialized data.
.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
OperationCanceledException Class