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
si
Type: System.Runtime.Serialization.SerializationInfoA SerializationInfo object that stores data for serialization or deserialization.
context
Type: System.Runtime.Serialization.StreamingContextA StreamingContext structure that describes the source and destination of a serialized stream.
See Also
Reference
SPContentTypeReadOnlyException Class
SPContentTypeReadOnlyException Members