IDeploymentStep.Initialize Method

Initializes the deployment step.

Namespace:  Microsoft.VisualStudio.SharePoint.Deployment
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Sub Initialize ( _
    stepInfo As IDeploymentStepInfo _
)
void Initialize(
    IDeploymentStepInfo stepInfo
)

Parameters

Remarks

Visual Studio calls this method when the deployment step is first initialized. This happens only once per Visual Studio instance.

In your implementation of Initialize, set properties of the stepInfo parameter to specify the name, description, and other details for the deployment step.

This method is always executed from the UI thread.

.NET Framework Security

See Also

Reference

IDeploymentStep Interface

Microsoft.VisualStudio.SharePoint.Deployment Namespace

Other Resources

Walkthrough: Creating a Custom Deployment Step for SharePoint Projects