Redigera

Dela 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.

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

Applies to

LambdaSerializationException(String)

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

public:
 LambdaSerializationException(System::String ^ message);
public LambdaSerializationException (string message);
new System.Activities.Expressions.LambdaSerializationException : string -> System.Activities.Expressions.LambdaSerializationException
Public Sub New (message As String)

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

LambdaSerializationException(SerializationInfo, StreamingContext)

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

protected:
 LambdaSerializationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected LambdaSerializationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Activities.Expressions.LambdaSerializationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Activities.Expressions.LambdaSerializationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The serialized object data about the exception being thrown.

context
StreamingContext

The contextual information about the source or destination.

Applies to

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.

public:
 LambdaSerializationException(System::String ^ message, Exception ^ innerException);
public LambdaSerializationException (string message, Exception innerException);
new System.Activities.Expressions.LambdaSerializationException : string * Exception -> System.Activities.Expressions.LambdaSerializationException
Public Sub New (message As String, innerException As Exception)

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