RecordNotFoundException Constructor (String, String, Guid, Exception)
Initializes a new instance of the RecordNotFoundException class.
Namespace: Microsoft.CommerceServer.Orders
Assembly: Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
entityName As String, _
orderGroupId As Guid, _
innerException As Exception _
)
'Usage
Dim message As String
Dim entityName As String
Dim orderGroupId As Guid
Dim innerException As Exception
Dim instance As New RecordNotFoundException(message, _
entityName, orderGroupId, innerException)
public RecordNotFoundException(
string message,
string entityName,
Guid orderGroupId,
Exception innerException
)
public:
RecordNotFoundException(
String^ message,
String^ entityName,
Guid orderGroupId,
Exception^ innerException
)
public function RecordNotFoundException(
message : String,
entityName : String,
orderGroupId : Guid,
innerException : Exception
)
Parameters
- message
Type: System..::.String
The error message that explains the reason for the exception.
- entityName
Type: System..::.String
Name of the entity which is not found.
- orderGroupId
Type: System..::.Guid
Identifier of the entity which is not found.
- innerException
Type: System..::.Exception
The exception that is the cause of the current exception, or a nullNothingnullptra null reference (Nothing in Visual Basic) reference (Nothing in Visual Basic) if no inner exception is specified.
Remarks
If the innerException parameter is not a nullNothingnullptra null reference (Nothing in Visual Basic) reference, the current exception is raised in a catch block that handles the inner exception.
The exception that is thrown when a Basket or PurchaseOrder with the specified identifier cannot be found.
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
RecordNotFoundException Members