共用方式為


SPContentTypeReadOnlyException constructor (SerializationInfo, StreamingContext)

初始化具有指定的序列化資料和資料流內容之SPContentTypeReadOnlyException類別的新執行個體。

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

Syntax

'宣告
Protected Sub New ( _
    si As SerializationInfo, _
    context As StreamingContext _
)
'用途
Dim si As SerializationInfo
Dim context As StreamingContext

Dim instance As New SPContentTypeReadOnlyException(si, context)
protected SPContentTypeReadOnlyException(
    SerializationInfo si,
    StreamingContext context
)

參數

請參閱

參照

SPContentTypeReadOnlyException class

SPContentTypeReadOnlyException members

SPContentTypeReadOnlyException overload

Microsoft.SharePoint namespace