Interface IInitializeMigrationHookResult
IResult object for an IInitializeMigrationHook.
Namespace: Tableau.Migration.Engine.Hooks
Assembly: Tableau.Migration.dll
Syntax
public interface IInitializeMigrationHookResult : IResult
Properties
ScopedServices
Gets the migration-scoped service provider.
Declaration
IServiceProvider ScopedServices { get; }
Property Value
Type | Description |
---|---|
IServiceProvider |
Methods
ToFailure(params Exception[])
Creates a new IInitializeMigrationHookResult object with the given errors.
Declaration
IInitializeMigrationHookResult ToFailure(params Exception[] errors)
Parameters
Type | Name | Description |
---|---|---|
Exception[] | errors | The errors that caused the failure. |
Returns
Type | Description |
---|---|
IInitializeMigrationHookResult | The new IInitializeMigrationHookResult object. |