共用方式為


SPContentTypeReadOnlyException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the SPContentTypeReadOnlyException class with the specified serialization data and stream context.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Sub New ( _
    si As SerializationInfo, _
    context As StreamingContext _
)
'Usage
Dim si As SerializationInfo
Dim context As StreamingContext

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

Parameters

See Also

Reference

SPContentTypeReadOnlyException Class

SPContentTypeReadOnlyException Members

SPContentTypeReadOnlyException Overload

Microsoft.SharePoint Namespace