Share via


ContentDeploymentSourceError constructor (SPSite, SPWeb, ContentDeploymentSourceErrorType, Guid, String, Boolean)

Initializes a new instance of a ContentDeploymentSourceError object based on the specified parameters.

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

Syntax

'Declaration
Public Sub New ( _
    site As SPSite, _
    web As SPWeb, _
    errorType As ContentDeploymentSourceErrorType, _
    featureId As Guid, _
    featureDisplayName As String, _
    isFeatureHidden As Boolean _
)
'Usage
Dim site As SPSite
Dim web As SPWeb
Dim errorType As ContentDeploymentSourceErrorType
Dim featureId As Guid
Dim featureDisplayName As String
Dim isFeatureHidden As Boolean

Dim instance As New ContentDeploymentSourceError(site, web, _
    errorType, featureId, featureDisplayName, _
    isFeatureHidden)
public ContentDeploymentSourceError(
    SPSite site,
    SPWeb web,
    ContentDeploymentSourceErrorType errorType,
    Guid featureId,
    string featureDisplayName,
    bool isFeatureHidden
)

Parameters

  • featureDisplayName
    Type: System.String

    The display name of the feature.

  • isFeatureHidden
    Type: System.Boolean

    A value that indicates whether the feature is hidden.

See also

Reference

ContentDeploymentSourceError class

ContentDeploymentSourceError members

ContentDeploymentSourceError overload

Microsoft.SharePoint.Publishing.Administration namespace