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.
- token
Type: System..::.Guid
Token of the import operation.
Remarks
The exception that is thrown when a user specified Import token doesn't exist.
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
InvalidImportTokenException Class
InvalidImportTokenException Members