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 | |
---|---|---|
PasswordWriteOnlyException() | Creates a new instance of the PasswordWriteOnlyException class. | |
PasswordWriteOnlyException(String) | Creates a new instance of the PasswordWriteOnlyException class with a specified error message. | |
PasswordWriteOnlyException(SerializationInfo, StreamingContext) | Creates a new instance of the PasswordWriteOnlyException class with serialized data. | |
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 | |
---|---|---|
Data | (Geerbt von Exception.) | |
HelpLink | (Geerbt von Exception.) | |
HResult | (Geerbt von Exception.) | |
InnerException | (Geerbt von Exception.) | |
Message | (Geerbt von Exception.) | |
MessageCode | Gets the error code of the underlying error. (Geerbt von ReplicationAgentException.) | |
Source | (Geerbt von Exception.) | |
StackTrace | (Geerbt von Exception.) | |
TargetSite | (Geerbt von Exception.) |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Equals | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
GetBaseException | (Geerbt von Exception.) | |
GetHashCode | (Geerbt von Object.) | |
GetObjectData | Sets the specified SerializationInfo with information about the exception. (Geerbt von ReplicationAgentException.) | |
GetType | (Geerbt von Exception.) | |
MemberwiseClone | (Geerbt von Object.) | |
ToString | (Geerbt von Exception.) |
Zum Anfang
Ereignisse
Name | Beschreibung | |
---|---|---|
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.