Condividi tramite


RegistrySecretException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the RegistrySecretException class with the specified serialization and streaming context information.

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

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New RegistrySecretException(info, context)
protected RegistrySecretException(
    SerializationInfo info,
    StreamingContext context
)
protected:
RegistrySecretException(
    SerializationInfo^ info, 
    StreamingContext context
)
protected function RegistrySecretException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

Remarks

This constructor is needed for serialization when exception propagates from a remoting server to the client.

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