次の方法で共有


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.String

    A string that contains the error message.

See also

Reference

SPContentTypeReadOnlyException class

SPContentTypeReadOnlyException members

SPContentTypeReadOnlyException overload

Microsoft.SharePoint namespace