共用方式為


SPDuplicateValuesFoundException constructor (String, Exception)

初始化新的執行個體,使用指定的錯誤訊息,並且會造成目前例外狀況的內部例外狀況的**[Microsoft.SharePoint.SPDuplicateValuesFoundException]**例外狀況類別。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'用途
Dim message As String
Dim innerException As Exception

Dim instance As New SPDuplicateValuesFoundException(message, _
    innerException)
public SPDuplicateValuesFoundException(
    string message,
    Exception innerException
)

參數

  • innerException
    Type: System.Exception

    導致這個例外狀況的內部例外狀況。

請參閱

參照

SPDuplicateValuesFoundException class

SPDuplicateValuesFoundException members

SPDuplicateValuesFoundException overload

Microsoft.SharePoint namespace