Redigera

Dela via


CheckoutException Constructors

Definition

Initializes a new instance of the CheckoutException class.

Overloads

CheckoutException()

Initializes a new instance of the CheckoutException class with no associated message or error code.

CheckoutException(String)

Initializes a new instance of the CheckoutException class with the specified message.

CheckoutException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the CheckoutException class using the specified serialization data and context.

CheckoutException(String, Exception)

Initializes a new instance of the CheckoutException class with the specified detailed description and the specified exception.

CheckoutException(String, Int32)

Initializes a new instance of the CheckoutException class with the specified message and error code.

CheckoutException()

Source:
CheckoutException.cs
Source:
CheckoutException.cs
Source:
CheckoutException.cs

Initializes a new instance of the CheckoutException class with no associated message or error code.

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

Applies to

CheckoutException(String)

Source:
CheckoutException.cs
Source:
CheckoutException.cs
Source:
CheckoutException.cs

Initializes a new instance of the CheckoutException class with the specified message.

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)

Parameters

message
String

A message describing the exception.

Applies to

CheckoutException(SerializationInfo, StreamingContext)

Source:
CheckoutException.cs
Source:
CheckoutException.cs
Source:
CheckoutException.cs

Caution

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

Initializes a new instance of the CheckoutException class using the specified serialization data and context.

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}")]
protected CheckoutException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ComponentModel.Design.CheckoutException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ComponentModel.Design.CheckoutException
[<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
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The SerializationInfo to be used for deserialization.

context
StreamingContext

The destination to be used for deserialization.

Attributes

Applies to

CheckoutException(String, Exception)

Source:
CheckoutException.cs
Source:
CheckoutException.cs
Source:
CheckoutException.cs

Initializes a new instance of the CheckoutException class with the specified detailed description and the specified exception.

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)

Parameters

message
String

A detailed description of the error.

innerException
Exception

A reference to the inner exception that is the cause of this exception.

Applies to

CheckoutException(String, Int32)

Source:
CheckoutException.cs
Source:
CheckoutException.cs
Source:
CheckoutException.cs

Initializes a new instance of the CheckoutException class with the specified message and error code.

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)

Parameters

message
String

A message describing the exception.

errorCode
Int32

The error code to pass.

Applies to