Share via


RegistrySecretException Constructor

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Initializes a new instance of the RegistrySecretException class.

Overload List

  Name Description
ms870901.pubmethod(en-US,CS.70).gif RegistrySecretException()()() Initializes a new instance of the RegistrySecretException class.
ms870901.pubmethod(en-US,CS.70).gif RegistrySecretException(String) Initializes a new instance of the RegistrySecretException class with the specified error message.
ms870901.protmethod(en-US,CS.70).gif RegistrySecretException(SerializationInfo, StreamingContext) Initializes a new instance of the RegistrySecretException class with the specified serialization and streaming context information.
ms870901.pubmethod(en-US,CS.70).gif RegistrySecretException(String, Exception) Initializes a new instance of the RegistrySecretException class with a specified error message and inner exception that is the cause of this exception.

Top

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.

See Also

Reference

RegistrySecretException Class

RegistrySecretException Members

Microsoft.CommerceServer Namespace