Compartilhar via


DbUpdateConcurrencyException Construtores

Definição

Sobrecargas

DbUpdateConcurrencyException()

Inicializa uma nova instância da classe DbUpdateConcurrencyException.

DbUpdateConcurrencyException(String)

Inicializa uma nova instância da classe DbUpdateConcurrencyException.

DbUpdateConcurrencyException(SerializationInfo, StreamingContext)
Obsoleto.

Inicializa uma nova instância da DbUpdateException classe de um formulário serializado.

DbUpdateConcurrencyException(String, IReadOnlyList<IUpdateEntry>)

Inicializa uma nova instância da classe DbUpdateConcurrencyException.

DbUpdateConcurrencyException(String, Exception)

Inicializa uma nova instância da classe DbUpdateConcurrencyException.

DbUpdateConcurrencyException(String, Exception, IReadOnlyList<IUpdateEntry>)

Inicializa uma nova instância da classe DbUpdateConcurrencyException.

DbUpdateConcurrencyException()

Inicializa uma nova instância da classe DbUpdateConcurrencyException.

public DbUpdateConcurrencyException ();
Public Sub New ()

Aplica-se a

DbUpdateConcurrencyException(String)

Inicializa uma nova instância da classe DbUpdateConcurrencyException.

public DbUpdateConcurrencyException (string message);
new Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException : string -> Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException
Public Sub New (message As String)

Parâmetros

message
String

A mensagem de erro que explica a razão da exceção.

Aplica-se a

DbUpdateConcurrencyException(SerializationInfo, StreamingContext)

Cuidado

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Inicializa uma nova instância da DbUpdateException classe de um formulário serializado.

public DbUpdateConcurrencyException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.")]
public DbUpdateConcurrencyException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.")>]
new Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException
Public Sub New (info As SerializationInfo, context As StreamingContext)

Parâmetros

info
SerializationInfo

As informações de serialização.

context
StreamingContext

O contexto de streaming que está sendo usado.

Atributos

Aplica-se a

DbUpdateConcurrencyException(String, IReadOnlyList<IUpdateEntry>)

Inicializa uma nova instância da classe DbUpdateConcurrencyException.

public DbUpdateConcurrencyException (string message, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> entries);
new Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException : string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> -> Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException
Public Sub New (message As String, entries As IReadOnlyList(Of IUpdateEntry))

Parâmetros

message
String

A mensagem de erro que explica a razão da exceção.

entries
IReadOnlyList<IUpdateEntry>

As entradas envolvidas na violação de simultaneidade.

Aplica-se a

DbUpdateConcurrencyException(String, Exception)

Inicializa uma nova instância da classe DbUpdateConcurrencyException.

public DbUpdateConcurrencyException (string message, Exception innerException);
public DbUpdateConcurrencyException (string message, Exception? innerException);
new Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException : string * Exception -> Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException
Public Sub New (message As String, innerException As Exception)

Parâmetros

message
String

A mensagem de erro que explica a razão da exceção.

innerException
Exception

A exceção que é a causa da exceção atual.

Aplica-se a

DbUpdateConcurrencyException(String, Exception, IReadOnlyList<IUpdateEntry>)

Inicializa uma nova instância da classe DbUpdateConcurrencyException.

public DbUpdateConcurrencyException (string message, Exception innerException, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> entries);
public DbUpdateConcurrencyException (string message, Exception? innerException, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> entries);
new Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException : string * Exception * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> -> Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException
Public Sub New (message As String, innerException As Exception, entries As IReadOnlyList(Of IUpdateEntry))

Parâmetros

message
String

A mensagem de erro que explica a razão da exceção.

innerException
Exception

A exceção que é a causa da exceção atual.

entries
IReadOnlyList<IUpdateEntry>

As entradas envolvidas no erro.

Aplica-se a