EntityInUseException Constructor (String)
Initializes a new instance of the EntityInUseException class with the specified error message.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Sub New ( _
message As String _
)
'Usage
Dim message As String
Dim instance As New EntityInUseException(message)
public EntityInUseException(
string message
)
public:
EntityInUseException(
String^ message
)
public function EntityInUseException(
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 entity is in use and an attempt to delete the entity occurs.
All catalog exceptions, including the EntityInUseException are derived from the CatalogException class. The entity cannot be deleted as it is in use.
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.