CheckoutException Construtores

Definição

Inicializa uma nova instância da classe CheckoutException.

Sobrecargas

Nome Description
CheckoutException()

Inicializa uma nova instância da CheckoutException classe sem nenhum código de erro ou mensagem associado.

CheckoutException(String)

Inicializa uma nova instância da CheckoutException classe com a mensagem especificada.

CheckoutException(SerializationInfo, StreamingContext)
Obsoleto.

Inicializa uma nova instância da CheckoutException classe usando os dados de serialização e o contexto especificados.

CheckoutException(String, Exception)

Inicializa uma nova instância da CheckoutException classe com a descrição detalhada especificada e a exceção especificada.

CheckoutException(String, Int32)

Inicializa uma nova instância da CheckoutException classe com a mensagem especificada e o código de erro.

CheckoutException()

Origem:
CheckoutException.cs
Origem:
CheckoutException.cs
Origem:
CheckoutException.cs
Origem:
CheckoutException.cs
Origem:
CheckoutException.cs

Inicializa uma nova instância da CheckoutException classe sem nenhum código de erro ou mensagem associado.

public:
 CheckoutException();
public CheckoutException();
Public Sub New ()

Aplica-se a

CheckoutException(String)

Origem:
CheckoutException.cs
Origem:
CheckoutException.cs
Origem:
CheckoutException.cs
Origem:
CheckoutException.cs
Origem:
CheckoutException.cs

Inicializa uma nova instância da CheckoutException classe com a mensagem especificada.

public:
 CheckoutException(System::String ^ message);
public CheckoutException(string? message);
public CheckoutException(string message);
new System.ComponentModel.Design.CheckoutException : string -> System.ComponentModel.Design.CheckoutException
Public Sub New (message As String)

Parâmetros

message
String

Uma mensagem que descreve a exceção.

Aplica-se a

CheckoutException(SerializationInfo, StreamingContext)

Origem:
CheckoutException.cs
Origem:
CheckoutException.cs
Origem:
CheckoutException.cs
Origem:
CheckoutException.cs
Origem:
CheckoutException.cs

Cuidado

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

Inicializa uma nova instância da CheckoutException classe usando os dados de serialização e o contexto especificados.

protected:
 CheckoutException(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.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected CheckoutException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected CheckoutException(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.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.ComponentModel.Design.CheckoutException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ComponentModel.Design.CheckoutException
new System.ComponentModel.Design.CheckoutException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ComponentModel.Design.CheckoutException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parâmetros

info
SerializationInfo

O SerializationInfo a ser usado para desserialização.

context
StreamingContext

O destino a ser usado para desserialização.

Atributos

Aplica-se a

CheckoutException(String, Exception)

Origem:
CheckoutException.cs
Origem:
CheckoutException.cs
Origem:
CheckoutException.cs
Origem:
CheckoutException.cs
Origem:
CheckoutException.cs

Inicializa uma nova instância da CheckoutException classe com a descrição detalhada especificada e a exceção especificada.

public:
 CheckoutException(System::String ^ message, Exception ^ innerException);
public CheckoutException(string? message, Exception? innerException);
public CheckoutException(string message, Exception innerException);
new System.ComponentModel.Design.CheckoutException : string * Exception -> System.ComponentModel.Design.CheckoutException
Public Sub New (message As String, innerException As Exception)

Parâmetros

message
String

Uma descrição detalhada do erro.

innerException
Exception

Uma referência à exceção interna que é a causa dessa exceção.

Aplica-se a

CheckoutException(String, Int32)

Origem:
CheckoutException.cs
Origem:
CheckoutException.cs
Origem:
CheckoutException.cs
Origem:
CheckoutException.cs
Origem:
CheckoutException.cs

Inicializa uma nova instância da CheckoutException classe com a mensagem especificada e o código de erro.

public:
 CheckoutException(System::String ^ message, int errorCode);
public CheckoutException(string? message, int errorCode);
public CheckoutException(string message, int errorCode);
new System.ComponentModel.Design.CheckoutException : string * int -> System.ComponentModel.Design.CheckoutException
Public Sub New (message As String, errorCode As Integer)

Parâmetros

message
String

Uma mensagem que descreve a exceção.

errorCode
Int32

O código de erro a ser passado.

Aplica-se a