SPContentTypeReadOnlyException constructor (String)

Initializes a new instance of the SPContentTypeReadOnlyException class with the specified error message.

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

Syntax

'Declaration
Public Sub New ( _
    msg As String _
)
'Usage
Dim msg As String

Dim instance As New SPContentTypeReadOnlyException(msg)
public SPContentTypeReadOnlyException(
    string msg
)

Parameters

  • msg
    Type: System.String

    A string that contains the error message.

See also

Reference

SPContentTypeReadOnlyException class

SPContentTypeReadOnlyException members

SPContentTypeReadOnlyException overload

Microsoft.SharePoint namespace