ImportInProgressException Constructor (String, Int32)
Initializes a new instance of the ImportInProgressException class with the specified error message and the identifier for the PromoCodeDefinition caused the exception.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
promoCodeDefinitionId As Integer _
)
'Usage
Dim message As String
Dim promoCodeDefinitionId As Integer
Dim instance As New ImportInProgressException(message, _
promoCodeDefinitionId)
public ImportInProgressException(
string message,
int promoCodeDefinitionId
)
public:
ImportInProgressException(
String^ message,
int promoCodeDefinitionId
)
public function ImportInProgressException(
message : String,
promoCodeDefinitionId : int
)
Parameters
- message
Type: System..::.String
The error message that explains the reason for the exception.
- promoCodeDefinitionId
Type: System..::.Int32
PromoCodeDefinition Id that caused this exception.
Remarks
The ImportInProgressException class represents an exception that is thrown when a user attempts to start an import while an import or a generate for the definition is already in progress.
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
ImportInProgressException Class
ImportInProgressException Members