PasswordWriteOnlyException 클래스

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

상속 계층

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

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Replication(Microsoft.SqlServer.Replication.dll)

구문

‘선언
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class PasswordWriteOnlyException _
    Inherits ReplicationAgentException
‘사용 방법
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

PasswordWriteOnlyException 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 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.

맨 위로 이동

속성

  이름 설명
공용 속성 Data (Exception에서 상속됨)
공용 속성 HelpLink (Exception에서 상속됨)
공용 속성 HResult (Exception에서 상속됨)
공용 속성 InnerException (Exception에서 상속됨)
공용 속성 Message (Exception에서 상속됨)
공용 속성 MessageCode Gets the error code of the underlying error. (ReplicationAgentException에서 상속됨)
공용 속성 Source (Exception에서 상속됨)
공용 속성 StackTrace (Exception에서 상속됨)
공용 속성 TargetSite (Exception에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetBaseException (Exception에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetObjectData Sets the specified SerializationInfo with information about the exception. (ReplicationAgentException에서 상속됨)
공용 메서드 GetType (Exception에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 ToString (Exception에서 상속됨)

맨 위로 이동

이벤트

  이름 설명
보호된 이벤트 SerializeObjectState (Exception에서 상속됨)

맨 위로 이동

주의

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.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Replication 네임스페이스