SPDeploymentEventArgs Constructor (SPDeploymentStatus, Int32, Int32, String)
Creates a new instance of the SPDeploymentEventArgs class with the deployment status, information about object numbers, and directory path.
Namespace: Microsoft.SharePoint.Deployment
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
status As SPDeploymentStatus, _
objectsProcessed As Integer, _
objectsTotal As Integer, _
tempDirectoryPath As String _
)
'Usage
Dim status As SPDeploymentStatus
Dim objectsProcessed As Integer
Dim objectsTotal As Integer
Dim tempDirectoryPath As String
Dim instance As New SPDeploymentEventArgs(status, _
objectsProcessed, objectsTotal, _
tempDirectoryPath)
public SPDeploymentEventArgs(
SPDeploymentStatus status,
int objectsProcessed,
int objectsTotal,
string tempDirectoryPath
)
Parameters
status
Type: Microsoft.SharePoint.Deployment.SPDeploymentStatusProvides a SPDeploymentStatus enumeration value that specifies the current status of the deployment operation.
objectsProcessed
Type: System.Int32Integer that specifies the number of deployment objects that are currently processed.
objectsTotal
Type: System.Int32Integer that specifies the total number of deployment objects in the current deployment operation.
tempDirectoryPath
Type: System.StringString representation of the fully qualified file path to the temporary directory where the uncompressed contents of the deployment package files are stored.