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 IEnumerable<Exception>)
Creates a new IInitializeMigrationHookResult object with the given errors.
Declaration
IInitializeMigrationHookResult ToFailure(params IEnumerable<Exception> errors)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Exception> | errors | The errors that caused the failure. |
Returns
Type | Description |
---|---|
IInitializeMigrationHookResult | The new IInitializeMigrationHookResult object. |