共用方式為


SPException constructor (String, Exception)

此成員是保留給內部使用,而不是用來直接從您的程式碼使用

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

Syntax

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

Dim instance As New SPException(strMessage, _
    innerEx)
public SPException(
    string strMessage,
    Exception innerEx
)

參數

請參閱

參照

SPException class

SPException members

SPException overload

Microsoft.SharePoint namespace