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.
- entityName
Type: System..::.String
Name of the entity which is not found.
- 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
- 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