共用方式為


PasswordWriteOnlyException 建構函式 (String)

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

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
Public Sub New ( _
    message As String _
)
'用途
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
)

參數

  • message
    型別:System.String
    A message that describes the error.

備註

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.

請參閱

參考

PasswordWriteOnlyException 類別

PasswordWriteOnlyException 多載

Microsoft.SqlServer.Replication 命名空間