ApplicationFailedException ApplicationFailedException ApplicationFailedException Constructors

Definition

Overloads

ApplicationFailedException() ApplicationFailedException()

Initializes a new instance of the class ApplicationFailedException.

ApplicationFailedException(String) ApplicationFailedException(String) ApplicationFailedException(String)

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

ApplicationFailedException(SerializationInfo, StreamingContext) ApplicationFailedException(SerializationInfo, StreamingContext) ApplicationFailedException(SerializationInfo, StreamingContext)

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

ApplicationFailedException(String, Exception) ApplicationFailedException(String, Exception) ApplicationFailedException(String, Exception)

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

ApplicationFailedException() ApplicationFailedException()

Initializes a new instance of the class ApplicationFailedException.

public ApplicationFailedException ();
Public Sub New ()

ApplicationFailedException(String) ApplicationFailedException(String) ApplicationFailedException(String)

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

public ApplicationFailedException (string message);
new System.Management.Automation.ApplicationFailedException : string -> System.Management.Automation.ApplicationFailedException
Public Sub New (message As String)
Parameters
message
String String String

The error message to use when initializing this object

ApplicationFailedException(SerializationInfo, StreamingContext) ApplicationFailedException(SerializationInfo, StreamingContext) ApplicationFailedException(SerializationInfo, StreamingContext)

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

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

The serialization information to use when initializing this object

context
StreamingContext StreamingContext StreamingContext

The streaming context to use when initializing this object

ApplicationFailedException(String, Exception) ApplicationFailedException(String, Exception) ApplicationFailedException(String, Exception)

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

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

The error message to use when initializing this object

innerException
Exception Exception Exception

The inner exception to use when initializing this object

Applies to