ErrorCode Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the error code explaining the file format problem.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Property ErrorCode As PromoCodeGenerationErrorCode
'Usage
Dim instance As ImportFileFormatException
Dim value As PromoCodeGenerationErrorCode
value = instance.ErrorCode
instance.ErrorCode = value
public PromoCodeGenerationErrorCode ErrorCode { get; set; }
public:
property PromoCodeGenerationErrorCode ErrorCode {
PromoCodeGenerationErrorCode get ();
void set (PromoCodeGenerationErrorCode value);
}
public function get ErrorCode () : PromoCodeGenerationErrorCode
public function set ErrorCode (value : PromoCodeGenerationErrorCode)
Property Value
Type: Microsoft.CommerceServer.Marketing..::.PromoCodeGenerationErrorCode
The PromoCodeGenerationErrorCode enumeration value indicates possible promotion code import error codes.
Remarks
Gets the error code which caused this exception. The PromoCodeGenerationErrorCode enumeration value indicates the cause of the error.
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
ImportFileFormatException Class