EntityDoesNotExistException Constructor (String)

Initializes a new instance of the EntityDoesNotExistException class with a specified error message.

Namespace:  Microsoft.CommerceServer
Assembly:  Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String

Dim instance As New EntityDoesNotExistException(message)
public EntityDoesNotExistException(
    string message
)
public:
EntityDoesNotExistException(
    String^ message
)
public function EntityDoesNotExistException(
    message : String
)

Parameters

  • message
    Type: System..::.String
    The error message that explains the reason for the exception.

Remarks

The exception that is thrown when an attempt is made to retrieve an entity that does not exist in the campaigns database.

EntityDoesNotExistException can also indicate that a reference was made to an entity that does not exist when saving an existing entity.

Permissions

See Also

Reference

EntityDoesNotExistException Class

EntityDoesNotExistException Members

EntityDoesNotExistException Overload

Microsoft.CommerceServer Namespace