ScriptCallDepthException Constructor (String, Exception)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Creates a new ScriptCallDepthException object that contains an exception message and the inner-exception that caused this exception to be thrown.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

public ScriptCallDepthException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

The exception message that describes the error condition.

innerException
Type: System.Exception

The specific exception that caused the ScriptCallDepthException exception to be thrown.

Return to top

Community Additions

ADD
Show: