Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Indicates a member 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.
Namespace: Microsoft.SqlServer.Dac.Deployment
Assembly: Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)
Syntax
'Declaration
Protected Overridable Sub OnExecute ( _
context As BuildContributorContext, _
messages As IList(Of ExtensibilityError) _
)
'Usage
Dim context As BuildContributorContext
Dim messages As IList(Of ExtensibilityError)
Me.OnExecute(context, messages)
protected virtual void OnExecute(
BuildContributorContext context,
IList<ExtensibilityError> messages
)
protected:
virtual void OnExecute(
BuildContributorContext^ context,
IList<ExtensibilityError^>^ messages
)
abstract OnExecute :
context:BuildContributorContext *
messages:IList<ExtensibilityError> -> unit
override OnExecute :
context:BuildContributorContext *
messages:IList<ExtensibilityError> -> unit
protected function OnExecute(
context : BuildContributorContext,
messages : IList<ExtensibilityError>
)
Parameter
- context
Typ: Microsoft.SqlServer.Dac.Deployment.BuildContributorContext
The BuildContributorContext object.
- messages
Typ: System.Collections.Generic.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.
Ausnahmen
| Ausnahme | Bedingung |
|---|---|
| BuildFailedException | This type of exception should be thrown if the build cannot continue. |