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
stepInfo
Type: Microsoft.VisualStudio.SharePoint.Deployment.IDeploymentStepInfoAn object that contains information about the deployment step.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.SharePoint.Deployment Namespace
Other Resources
Walkthrough: Creating a Custom Deployment Step for SharePoint Projects