Freigeben über


DeploymentEventArgs Class

Definition

Provides data for the DeploymentStarted and DeploymentCompleted events.

public ref class DeploymentEventArgs : Microsoft::VisualStudio::SharePoint::SharePointProjectEventArgs
public class DeploymentEventArgs : Microsoft.VisualStudio.SharePoint.SharePointProjectEventArgs
type DeploymentEventArgs = class
    inherit SharePointProjectEventArgs
Public Class DeploymentEventArgs
Inherits SharePointProjectEventArgs
Inheritance

Remarks

The DeploymentStarted and DeploymentCompleted events are raised when a SharePoint project is deployed. For more information about handling these events, see How to: Run Code When a SharePoint Project is Deployed or Retracted.

Constructors

DeploymentEventArgs(ISharePointProject, IDeploymentContext)

Initializes a new instance of the DeploymentEventArgs class.

Properties

DeploymentContext

Gets an object that provides information about the current deployment session.

Project

Gets or sets an instance of the ISharePointProject.

(Inherited from SharePointProjectEventArgs)

Applies to