Partilhar via


Construtor PasswordWriteOnlyException (String)

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

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

Sintaxe

'Declaração
Public Sub New ( _
    message As String _
)
'Uso
Dim message As String

Dim instance As New PasswordWriteOnlyException(message)
public PasswordWriteOnlyException(
    string message
)
public:
PasswordWriteOnlyException(
    String^ message
)
new : 
        message:string -> PasswordWriteOnlyException
public function PasswordWriteOnlyException(
    message : String
)

Parâmetros

Comentários

The following table shows the initial property values for an instance of PasswordWriteOnlyException.

Property

Value

InnerException

A null reference (Nothing in Microsoft Visual Basic).

Message

The error message string.