SPPrincipalManagementException constructor (String, Exception)
初始化新的執行個體與指定的錯誤訊息和內部是造成這個例外狀況的例外狀況的參考的SPPrincipalManagementException類別的.
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 SPPrincipalManagementException(message, _
innerException)
public SPPrincipalManagementException(
string message,
Exception innerException
)
參數
message
Type: System.String描述錯誤的訊息。
innerException
Type: System.Exception如果不指定任何內部例外狀況會造成目前例外狀況,則為 null 參考例外狀況。
請參閱
參照
SPPrincipalManagementException class
SPPrincipalManagementException members