Classe PasswordWriteOnlyException
The exception that is thrown when a replication agent password property is accessed.
Hierarquia de herança
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Replication. . :: . .ReplicationAgentException
Microsoft.SqlServer.Replication..::..PasswordWriteOnlyException
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (em Microsoft.SqlServer.Replication.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class PasswordWriteOnlyException _
Inherits ReplicationAgentException
'Uso
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
O tipo PasswordWriteOnlyException expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
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. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Data | (Herdado de Exception.) | |
HelpLink | (Herdado de Exception.) | |
HResult | (Herdado de Exception.) | |
InnerException | (Herdado de Exception.) | |
Message | (Herdado de Exception.) | |
MessageCode | Gets the error code of the underlying error. (Herdado de ReplicationAgentException.) | |
Source | (Herdado de Exception.) | |
StackTrace | (Herdado de Exception.) | |
TargetSite | (Herdado de Exception.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetBaseException | (Herdado de Exception.) | |
GetHashCode | (Herdado de Object.) | |
GetObjectData | Sets the specified SerializationInfo with information about the exception. (Herdado de ReplicationAgentException.) | |
GetType | (Herdado de Exception.) | |
MemberwiseClone | (Herdado de Object.) | |
ToString | (Herdado de Exception.) |
Início
Comentários
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.
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.