共用方式為


SPContentTypeReadOnlyException constructor (String, Exception)

初始化與指定的錯誤訊息和例外狀況物件的SPContentTypeReadOnlyException類別的新執行個體。

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

Syntax

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

Dim instance As New SPContentTypeReadOnlyException(message, _
    e)
public SPContentTypeReadOnlyException(
    string message,
    Exception e
)

參數

請參閱

參照

SPContentTypeReadOnlyException class

SPContentTypeReadOnlyException members

SPContentTypeReadOnlyException overload

Microsoft.SharePoint namespace