共用方式為


SPException constructor (String, Int32)

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

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

Syntax

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

Dim instance As New SPException(strMessage, _
    errorCode)
public SPException(
    string strMessage,
    int errorCode
)

參數

請參閱

參照

SPException class

SPException members

SPException overload

Microsoft.SharePoint namespace