Partager via


RegistrySecretException Constructor (String)

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

Parameters

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

Remarks

This exception is thrown when a failure occurs while reading an encrypted secret from the system registry.

A failure may occur while reading an encrypted registry secret for many reasons. These reasons include lack of permissions to the registry path, the registry path does not exist, a mis-formatted registry path, or cryptographic failures.

Permissions

See Also

Reference

RegistrySecretException Class

RegistrySecretException Members

RegistrySecretException Overload

Microsoft.CommerceServer Namespace