다음을 통해 공유


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

  • objectsProcessed
    Type: System.Int32

    Integer that specifies the number of deployment objects that are currently processed.

  • objectsTotal
    Type: System.Int32

    Integer that specifies the total number of deployment objects in the current deployment operation.

  • tempDirectoryPath
    Type: System.String

    String representation of the fully qualified file path to the temporary directory where the uncompressed contents of the deployment package files are stored.

See Also

Reference

SPDeploymentEventArgs Class

SPDeploymentEventArgs Members

SPDeploymentEventArgs Overload

Microsoft.SharePoint.Deployment Namespace