CommerceProfileAlreadyExistsException Constructor (String)
Initializes a new instance of the CommerceProfileAlreadyExistsException class using the specified string message.
Namespace: Microsoft.CommerceServer.Runtime.Profiles
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Sub New ( _
message As String _
)
'Usage
Dim message As String
Dim instance As New CommerceProfileAlreadyExistsException(message)
public CommerceProfileAlreadyExistsException(
string message
)
public:
CommerceProfileAlreadyExistsException(
String^ message
)
public function CommerceProfileAlreadyExistsException(
message : String
)
Parameters
- message
Type: System..::.String
The error message that explains the reason for the exception.
Remarks
This exception will be thrown by the various forms of the CreateProfile method when an attempt is made to create a profile with an identical primary key value of an already existing profile instance.
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
CommerceProfileAlreadyExistsException Class
CommerceProfileAlreadyExistsException Members