Compartilhar via


ScriptCallDepthException Constructors

Definition

Overloads

ScriptCallDepthException()

Instantiates a new instance of the ScriptCallDepthException class.

ScriptCallDepthException(String)

Instantiates a new instance of the ScriptCallDepthException class.

ScriptCallDepthException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the ScriptCallDepthException class using data serialized via ISerializable

ScriptCallDepthException(String, Exception)

Instantiates a new instance of the ScriptCallDepthException class.

ScriptCallDepthException()

Instantiates a new instance of the ScriptCallDepthException class.

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

Applies to

ScriptCallDepthException(String)

Instantiates a new instance of the ScriptCallDepthException class.

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

Parameters

message
String

Applies to

ScriptCallDepthException(SerializationInfo, StreamingContext)

Caution

Legacy serialization support is deprecated since .NET 8

Initializes a new instance of the ScriptCallDepthException class using data serialized via ISerializable

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

Parameters

info
SerializationInfo

Serialization information.

context
StreamingContext

Streaming context.

Attributes

Applies to

ScriptCallDepthException(String, Exception)

Instantiates a new instance of the ScriptCallDepthException class.

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

Parameters

message
String
innerException
Exception

Applies to