Share via


InvalidImportTokenException Constructor (String, Guid)

Initializes a new instance of the InvalidImportTokenException class with the specified error message and token that caused the exception.

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

Syntax

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

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

Parameters

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

Remarks

The exception that is thrown when a user specified Import token doesn't exist.

Permissions

See Also

Reference

InvalidImportTokenException Class

InvalidImportTokenException Members

InvalidImportTokenException Overload

Microsoft.CommerceServer Namespace