LambdaSerializationException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應