Share via


ContentDeploymentException constructor (String, Exception)

Initializes a new instance of the ContentDeploymentException class.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Usage
Dim message As String
Dim innerException As Exception

Dim instance As New ContentDeploymentException(message, _
    innerException)
public ContentDeploymentException(
    string message,
    Exception innerException
)

Parameters

  • message
    Type: System.String

    A string that contains the error message that explains the reason for the exception.

  • innerException
    Type: System.Exception

    A System.Exception object that represents the cause of the current exception.

See also

Reference

ContentDeploymentException class

ContentDeploymentException members

ContentDeploymentException overload

Microsoft.SharePoint.Publishing.Administration namespace