OrderGroupConversionException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the OrderGroupConversionException 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 OrderGroupConversionException(info, context)
protected OrderGroupConversionException(
SerializationInfo info,
StreamingContext context
)
protected:
OrderGroupConversionException(
SerializationInfo^ info,
StreamingContext context
)
protected function OrderGroupConversionException(
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
The exception that is thrown during conversion of a basket to a purchase order when a strongly-typed or weakly-typed property of the basket has the same name but a different type as a strongly-named property of the PurchaseOrder class.
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
OrderGroupConversionException Class
OrderGroupConversionException Members