DeploymentException Constructors

Definition

Initializes a new instance of the DeploymentException class.

Overloads

DeploymentException()

Initializes a new instance of the DeploymentException class.

DeploymentException(String)

Initializes a new instance of the DeploymentException class.

DeploymentException(SerializationInfo, StreamingContext)

Initializes a new instance of the DeploymentException class.

DeploymentException(String, Exception)

Initializes a new instance of the DeploymentException class.

DeploymentException()

Initializes a new instance of the DeploymentException class.

C#
public DeploymentException();

Applies to

.NET Framework 4.8.1 i inne wersje
Produkt Wersje
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

DeploymentException(String)

Initializes a new instance of the DeploymentException class.

C#
public DeploymentException(string message);

Parameters

message
String

Represents text as a series of Unicode characters.

Applies to

.NET Framework 4.8.1 i inne wersje
Produkt Wersje
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

DeploymentException(SerializationInfo, StreamingContext)

Initializes a new instance of the DeploymentException class.

C#
protected DeploymentException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);

Parameters

serializationInfo
SerializationInfo

Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.

streamingContext
StreamingContext

Describes the source and destination of a given serialized stream, and provides an additional caller-defined context.

Applies to

.NET Framework 4.8.1 i inne wersje
Produkt Wersje
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

DeploymentException(String, Exception)

Initializes a new instance of the DeploymentException class.

C#
public DeploymentException(string message, Exception innerException);

Parameters

message
String

Represents text as a series of Unicode characters.

innerException
Exception

Represents errors that occur during application execution.

Applies to

.NET Framework 4.8.1 i inne wersje
Produkt Wersje
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1