UnexpectedContainedTypeException Constructor (String)
Initializes a new instance of the UnexpectedContainedTypeException class using the specified error message.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Sub New ( _
message As String _
)
'Usage
Dim message As String
Dim instance As New UnexpectedContainedTypeException(message)
public UnexpectedContainedTypeException(
string message
)
public:
UnexpectedContainedTypeException(
String^ message
)
public function UnexpectedContainedTypeException(
message : String
)
Parameters
- message
Type: System..::.String
The error message that explains the reason for the exception.
Remarks
This exception is thrown when a collection member of a class contains an instance of a class that is not mapped in the orders object mapping configuration file.
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
UnexpectedContainedTypeException Class
UnexpectedContainedTypeException Members