Share via


UploadFileSizeException Constructor (String, Guid, Int32)

Initializes a new instance of the UploadFileSizeException class with the specified error message and parameters.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    token As Guid, _
    fileSize As Integer _
)
'Usage
Dim message As String
Dim token As Guid
Dim fileSize As Integer

Dim instance As New UploadFileSizeException(message, _
    token, fileSize)
public UploadFileSizeException(
    string message,
    Guid token,
    int fileSize
)
public:
UploadFileSizeException(
    String^ message, 
    Guid token, 
    int fileSize
)
public function UploadFileSizeException(
    message : String, 
    token : Guid, 
    fileSize : int
)

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