BuildContributor.OnExecute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called after the project's model has been completely built giving the build contributor an opportunity to examine the model and possible output additional files.
protected virtual void OnExecute (Microsoft.SqlServer.Dac.Deployment.BuildContributorContext context, System.Collections.Generic.IList<Microsoft.SqlServer.Dac.Extensibility.ExtensibilityError> messages);
abstract member OnExecute : Microsoft.SqlServer.Dac.Deployment.BuildContributorContext * System.Collections.Generic.IList<Microsoft.SqlServer.Dac.Extensibility.ExtensibilityError> -> unit
override this.OnExecute : Microsoft.SqlServer.Dac.Deployment.BuildContributorContext * System.Collections.Generic.IList<Microsoft.SqlServer.Dac.Extensibility.ExtensibilityError> -> unit
Protected Overridable Sub OnExecute (context As BuildContributorContext, messages As IList(Of ExtensibilityError))
Parameters
- context
- BuildContributorContext
BuildContributorContext object
- messages
- IList<ExtensibilityError>
Any messages to be published as part of the build process can be added to this List. May relate to errors or can also be informational
Exceptions
This type of exception should be thrown if the build cannot continue.