WarningConfigurationBuilderExtensions.Ignore(WarningsConfigurationBuilder, RelationalEventId[]) WarningConfigurationBuilderExtensions.Ignore(WarningsConfigurationBuilder, RelationalEventId[]) Method

Definition

Causes nothing to happen when the specified relational database warnings are generated.

public static WarningsConfigurationBuilder Ignore(this WarningsConfigurationBuilder warningsConfigurationBuilder, params RelationalEventId[] relationalEventIds)
<ExtensionAttribute>
Public Shared Function Ignore(warningsConfigurationBuilder As WarningsConfigurationBuilder, ParamArray relationalEventIds As RelationalEventId()) As WarningsConfigurationBuilder

Parameters

warningsConfigurationBuilder
WarningsConfigurationBuilder WarningsConfigurationBuilder

The builder being used to configure warnings.

relationalEventIds
RelationalEventId[] RelationalEventId()

The RelationalEventId(s) for the warnings.

Returns

The same builder instance so that multiple calls can be chained.