Share via


BuildContributor.OnExecute Method

Definition

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

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.

Applies to