SPContentTypeReadOnlyException constructor (String, Exception)
Initializes a new instance of the SPContentTypeReadOnlyException class with the specified error message and exception object.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
e As Exception _
)
'Usage
Dim message As String
Dim e As Exception
Dim instance As New SPContentTypeReadOnlyException(message, _
e)
public SPContentTypeReadOnlyException(
string message,
Exception e
)
Parameters
message
Type: System.StringA string that contains the error message.
e
Type: System.ExceptionAn Exception object that represents the cause of the current exception.
See also
Reference
SPContentTypeReadOnlyException class
SPContentTypeReadOnlyException members