Partager via


IncompleteParseException Constructors

Definition

Overloads

IncompleteParseException()

Initializes a new instance of the class IncompleteParseException.

IncompleteParseException(String)

Initializes a new instance of the IncompleteParseException class and defines the error message.

IncompleteParseException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the IncompleteParseException class and defines the serialization information, and streaming context.

IncompleteParseException(String, Exception)

Initializes a new instance of the IncompleteParseException class and defines the error message and inner exception.

IncompleteParseException()

Initializes a new instance of the class IncompleteParseException.

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

Applies to

IncompleteParseException(String)

Initializes a new instance of the IncompleteParseException class and defines the error message.

public:
 IncompleteParseException(System::String ^ message);
public:
 IncompleteParseException(Platform::String ^ message);
 IncompleteParseException(std::wstring const & message);
public IncompleteParseException (string message);
new System.Management.Automation.IncompleteParseException : string -> System.Management.Automation.IncompleteParseException
Public Sub New (message As String)

Parameters

message
String

The error message to use when initializing this object.

Applies to

IncompleteParseException(SerializationInfo, StreamingContext)

Caution

Legacy serialization support is deprecated since .NET 8

Initializes a new instance of the IncompleteParseException class and defines the serialization information, and streaming context.

protected:
 IncompleteParseException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected IncompleteParseException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("Legacy serialization support is deprecated since .NET 8", DiagnosticId="SYSLIB0051")]
protected IncompleteParseException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Management.Automation.IncompleteParseException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.Automation.IncompleteParseException
[<System.Obsolete("Legacy serialization support is deprecated since .NET 8", DiagnosticId="SYSLIB0051")>]
new System.Management.Automation.IncompleteParseException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.Automation.IncompleteParseException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The serialization information to use when initializing this object.

context
StreamingContext

The streaming context to use when initializing this object.

Attributes

Applies to

IncompleteParseException(String, Exception)

Initializes a new instance of the IncompleteParseException class and defines the error message and inner exception.

public:
 IncompleteParseException(System::String ^ message, Exception ^ innerException);
public IncompleteParseException (string message, Exception innerException);
new System.Management.Automation.IncompleteParseException : string * Exception -> System.Management.Automation.IncompleteParseException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The error message to use when initializing this object.

innerException
Exception

The inner exception to use when initializing this object.

Applies to