Share via


UploadFileSizeException Constructor (String)

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Initializes a new instance of the UploadFileSizeException class with the 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 UploadFileSizeException(message)
public UploadFileSizeException(
    string message
)
public:
UploadFileSizeException(
    String^ message
)
public function UploadFileSizeException(
    message : String
)

Parameters

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

Remarks

This exception is thrown when a user tried to upload a file that is larger than the pre-configured limit; or when trying to import a token that was not completely uploaded yet.

Permissions

See Also

Reference

UploadFileSizeException Class

UploadFileSizeException Members

UploadFileSizeException Overload

Microsoft.CommerceServer Namespace