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