共用方式為


SPDatabaseException Constructor (String)

Initializes a new instance of the SPDatabaseException class.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String

Dim instance As New SPDatabaseException(message)
public SPDatabaseException(
    string message
)

Parameters

  • message
    Type: System.String

    A string containing the message that explains the reason for the exception.

See Also

Reference

SPDatabaseException Class

SPDatabaseException Members

SPDatabaseException Overload

Microsoft.SharePoint.Administration Namespace