PropertyWriteException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| PropertyWriteException() |
T:Microsoft 的建構器。SqlServer.Management.Smo.PropertyWriteException. |
| PropertyWriteException(String) |
T:Microsoft 的建構器。SqlServer.Management.Smo.PropertyWriteException. |
| PropertyWriteException(String, Exception) |
T:Microsoft 的建構器。SqlServer.Management.Smo.PropertyWriteException. |
| PropertyWriteException(String, String, String, String) |
T:Microsoft 的建構器。SqlServer.Management.Smo.PropertyWriteException. |
PropertyWriteException()
T:Microsoft 的建構器。SqlServer.Management.Smo.PropertyWriteException.
public PropertyWriteException();
Public Sub New ()
適用於
PropertyWriteException(String)
T:Microsoft 的建構器。SqlServer.Management.Smo.PropertyWriteException.
public PropertyWriteException(string message);
new Microsoft.SqlServer.Management.Smo.PropertyWriteException : string -> Microsoft.SqlServer.Management.Smo.PropertyWriteException
Public Sub New (message As String)
參數
- message
- String
例外訊息以字串形式呈現。
適用於
PropertyWriteException(String, Exception)
T:Microsoft 的建構器。SqlServer.Management.Smo.PropertyWriteException.
public PropertyWriteException(string message, Exception innerException);
new Microsoft.SqlServer.Management.Smo.PropertyWriteException : string * Exception -> Microsoft.SqlServer.Management.Smo.PropertyWriteException
Public Sub New (message As String, innerException As Exception)
參數
- message
- String
例外訊息以字串形式呈現。
- innerException
- Exception
就是造成目前例外的 T:System.Exception 實例。
適用於
PropertyWriteException(String, String, String, String)
T:Microsoft 的建構器。SqlServer.Management.Smo.PropertyWriteException.
public PropertyWriteException(string propertyName, string objectKind, string objectName, string reason);
new Microsoft.SqlServer.Management.Smo.PropertyWriteException : string * string * string * string -> Microsoft.SqlServer.Management.Smo.PropertyWriteException
Public Sub New (propertyName As String, objectKind As String, objectName As String, reason As String)
參數
- propertyName
- String
該名稱是導致異常的被阻擋屬性的字串。
- objectKind
- String
物件類型為阻塞屬性的字串。
- objectName
- String
物件名稱作為阻塞屬性的字串
- reason
- String
財產阻塞的原因。