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)

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