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)
Available in Sandboxed Solutions: No
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.StringA string that contains the error message.
See Also
Reference
SPContentTypeReadOnlyException Class
SPContentTypeReadOnlyException Members