OrderNotSavedException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the OrderNotSavedException class using the specified serialization information and streaming context.
Namespace: Microsoft.CommerceServer.Orders
Assembly: Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New OrderNotSavedException(info, context)
protected OrderNotSavedException(
SerializationInfo info,
StreamingContext context
)
protected:
OrderNotSavedException(
SerializationInfo^ info,
StreamingContext context
)
protected function OrderNotSavedException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization..::.SerializationInfo
The SerializationInfo that contains the serialized object data about the exception being thrown.
- context
Type: System.Runtime.Serialization..::.StreamingContext
The StreamingContext that contains contextual information about the source or destination.
Remarks
This exception will be thrown during an attempt to update a record and the record was modified between the time it was initially loaded and the time it is re-written to storage.
Permissions
- 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
OrderNotSavedException Members