CheckoutException Construtores

Definição

Inicializa uma nova instância da CheckoutException classe.

Sobrecargas

Name Description
CheckoutException()

Inicializa uma nova instância da CheckoutException classe sem mensagem ou código de erro 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 e contexto de serialização 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 e o código de erro especificados.

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 mensagem ou código de erro 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 a descrever a exceção.

Aplica-se a

CheckoutException(SerializationInfo, StreamingContext)

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

Atenção

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 e contexto de serialização 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

A SerializationInfo ser usada 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 e o código de erro especificados.

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 a descrever a exceção.

errorCode
Int32

O código de erro para passar.

Aplica-se a