WarningsConfigurationBuilder.Throw(CoreEventId[]) Yöntem

Tanım

Belirtilen çekirdek uyarıları oluşturulduğunda bir özel durumun oluşturulmasına neden olur. Veritabanı sağlayıcıları (ve diğer uzantılar), bu davranışı oluşturdukları uyarılarla yapılandırmak için bu yöntemin uzantı yöntemi aşırı yüklemeleri sağlayabilir.

public virtual Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder Throw (params Microsoft.EntityFrameworkCore.Infrastructure.CoreEventId[] coreEventIds);
abstract member Throw : Microsoft.EntityFrameworkCore.Infrastructure.CoreEventId[] -> Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder
override this.Throw : Microsoft.EntityFrameworkCore.Infrastructure.CoreEventId[] -> Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder
Public Overridable Function Throw (ParamArray coreEventIds As CoreEventId()) As WarningsConfigurationBuilder

Parametreler

coreEventIds
CoreEventId[]

CoreEventIdUyarı için olan (ler).

Döndürülenler

WarningsConfigurationBuilder

Birden çok çağrının zincirlenebilir olması için aynı Oluşturucu örneği.

Şunlara uygulanır