Edit

Share via


LambdaSerializationException Constructors

Definition

Initializes a new instance of the LambdaSerializationException class.

Overloads

LambdaSerializationException()

Initializes a new instance of the LambdaSerializationException class.

LambdaSerializationException(String)

Initializes a new instance of the LambdaSerializationException class with a specified error message.

LambdaSerializationException(SerializationInfo, StreamingContext)

Initializes a new instance of the LambdaSerializationException class with serialized data.

LambdaSerializationException(String, Exception)

Initializes a new instance of the LambdaSerializationException class with a specified error message and a reference to the inner exception that is the cause of this exception.

LambdaSerializationException()

Initializes a new instance of the LambdaSerializationException class.

C#
public LambdaSerializationException();

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

LambdaSerializationException(String)

Initializes a new instance of the LambdaSerializationException class with a specified error message.

C#
public LambdaSerializationException(string message);

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

LambdaSerializationException(SerializationInfo, StreamingContext)

Initializes a new instance of the LambdaSerializationException class with serialized data.

C#
protected LambdaSerializationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);

Parameters

info
SerializationInfo

The serialized object data about the exception being thrown.

context
StreamingContext

The contextual information about the source or destination.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

LambdaSerializationException(String, Exception)

Initializes a new instance of the LambdaSerializationException class with a specified error message and a reference to the inner exception that is the cause of this exception.

C#
public LambdaSerializationException(string message, Exception innerException);

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1