Share via


RecordNotFoundException Constructor (String, String, Guid)

Initializes a new instance of the RecordNotFoundException class using the specified error message.

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 _
)
'Usage
Dim message As String
Dim entityName As String
Dim orderGroupId As Guid

Dim instance As New RecordNotFoundException(message, _
    entityName, orderGroupId)
public RecordNotFoundException(
    string message,
    string entityName,
    Guid orderGroupId
)
public:
RecordNotFoundException(
    String^ message, 
    String^ entityName, 
    Guid orderGroupId
)
public function RecordNotFoundException(
    message : String, 
    entityName : String, 
    orderGroupId : Guid
)

Parameters

  • message
    Type: System..::.String
    The error message that explains the reason for the exception.
  • orderGroupId
    Type: System..::.Guid
    Identifier of the entity which is not found.

Remarks

The exception that is thrown when a Basket or PurchaseOrder with the specified identifier cannot be found.

Permissions

See Also

Reference

RecordNotFoundException Class

RecordNotFoundException Members

RecordNotFoundException Overload

Microsoft.CommerceServer.Orders Namespace