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
site
Type: Microsoft.SharePoint.SPSiteSPSite object.
web
Type: Microsoft.SharePoint.SPWebSPWeb object.
errorType
Type: Microsoft.SharePoint.Publishing.Administration.ContentDeploymentSourceErrorTypeContentDeploymentSourceErrorType object.
featureId
Type: System.GuidThe Feature ID.
featureDisplayName
Type: System.StringThe display name of the feature.
isFeatureHidden
Type: System.BooleanA value that indicates whether the feature is hidden.
See also
Reference
ContentDeploymentSourceError class
ContentDeploymentSourceError members