Freigeben über


PasswordWriteOnlyException-Klasse

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

Vererbungshierarchie

System.Object
  System.Exception
    Microsoft.SqlServer.Replication.ReplicationAgentException
      Microsoft.SqlServer.Replication.PasswordWriteOnlyException

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class PasswordWriteOnlyException _
    Inherits ReplicationAgentException
'Usage
Dim instance As PasswordWriteOnlyException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class PasswordWriteOnlyException : ReplicationAgentException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class PasswordWriteOnlyException : public ReplicationAgentException
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type PasswordWriteOnlyException =  
    class 
        inherit ReplicationAgentException 
    end
public class PasswordWriteOnlyException extends ReplicationAgentException

Der PasswordWriteOnlyException-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode PasswordWriteOnlyException() Creates a new instance of the PasswordWriteOnlyException class.
Öffentliche Methode PasswordWriteOnlyException(String) Creates a new instance of the PasswordWriteOnlyException class with a specified error message.
Geschützte Methode PasswordWriteOnlyException(SerializationInfo, StreamingContext) Creates a new instance of the PasswordWriteOnlyException class with serialized data.
Öffentliche Methode 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.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Data (Geerbt von Exception.)
Öffentliche Eigenschaft HelpLink (Geerbt von Exception.)
Öffentliche Eigenschaft HResult (Geerbt von Exception.)
Öffentliche Eigenschaft InnerException (Geerbt von Exception.)
Öffentliche Eigenschaft Message (Geerbt von Exception.)
Öffentliche Eigenschaft MessageCode Gets the error code of the underlying error. (Geerbt von ReplicationAgentException.)
Öffentliche Eigenschaft Source (Geerbt von Exception.)
Öffentliche Eigenschaft StackTrace (Geerbt von Exception.)
Öffentliche Eigenschaft TargetSite (Geerbt von Exception.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetBaseException (Geerbt von Exception.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetObjectData Sets the specified SerializationInfo with information about the exception. (Geerbt von ReplicationAgentException.)
Öffentliche Methode GetType (Geerbt von Exception.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Exception.)

Zum Anfang

Ereignisse

  Name Beschreibung
Geschütztes Ereignis SerializeObjectState (Geerbt von Exception.)

Zum Anfang

Hinweise

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.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Replication-Namespace