PasswordWriteOnlyException PasswordWriteOnlyException PasswordWriteOnlyException Class

Definition

The exception that is thrown when a replication agent password property is accessed.

public ref class PasswordWriteOnlyException : Microsoft::SqlServer::Replication::ReplicationAgentException
[System.Runtime.InteropServices.ComVisible(false)]
public class PasswordWriteOnlyException : Microsoft.SqlServer.Replication.ReplicationAgentException
Public Class PasswordWriteOnlyException
Inherits ReplicationAgentException
Inheritance
PasswordWriteOnlyExceptionPasswordWriteOnlyExceptionPasswordWriteOnlyException
Attributes

Remarks

Replication agent password properties are read/write. To protect passwords, when accessing a password property, the PasswordWriteOnlyException is thrown instead of the actual password being returned.

Constructors

PasswordWriteOnlyException() PasswordWriteOnlyException() PasswordWriteOnlyException()

Creates a new instance of the PasswordWriteOnlyException class.

PasswordWriteOnlyException(SerializationInfo, StreamingContext) PasswordWriteOnlyException(SerializationInfo, StreamingContext) PasswordWriteOnlyException(SerializationInfo, StreamingContext)

Creates a new instance of the PasswordWriteOnlyException class with serialized data.

PasswordWriteOnlyException(String) PasswordWriteOnlyException(String) PasswordWriteOnlyException(String)

Creates a new instance of the PasswordWriteOnlyException class with a specified error message.

PasswordWriteOnlyException(String, Exception) PasswordWriteOnlyException(String, Exception) PasswordWriteOnlyException(String, Exception)

Creates a new instance of the PasswordWriteOnlyException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Sets the specified SerializationInfo with information about the exception.

(Inherited from ReplicationAgentException)

Properties

MessageCode MessageCode MessageCode

Gets the error code of the underlying error.

(Inherited from ReplicationAgentException)

Applies to