Condividi tramite


SessionStateOverflowException Constructors

Definition

Overloads

SessionStateOverflowException()

Constructs a SessionStateOverflowException

SessionStateOverflowException(String)

Constructs a SessionStateOverflowException with a message.

SessionStateOverflowException(SerializationInfo, StreamingContext)

Constructs a SessionStateOverflowException using serialized data.

SessionStateOverflowException(String, Exception)

Constructs a SessionStateOverflowException

SessionStateOverflowException()

Constructs a SessionStateOverflowException

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

Applies to

SessionStateOverflowException(String)

Constructs a SessionStateOverflowException with a message.

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

Parameters

message
String

The message used by the exception.

Applies to

SessionStateOverflowException(SerializationInfo, StreamingContext)

Constructs a SessionStateOverflowException using serialized data.

protected:
 SessionStateOverflowException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SessionStateOverflowException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Management.Automation.SessionStateOverflowException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.Automation.SessionStateOverflowException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

serialization information

context
StreamingContext

streaming context

Applies to

SessionStateOverflowException(String, Exception)

Constructs a SessionStateOverflowException

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

Parameters

message
String

The message the exception will use.

innerException
Exception

The exception that caused the error.

Applies to