Freigeben über


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.

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

Applies to

DeploymentException(String)

Initializes a new instance of the DeploymentException class.

public:
 DeploymentException(System::String ^ message);
public DeploymentException (string message);
new System.Deployment.Application.DeploymentException : string -> System.Deployment.Application.DeploymentException
Public Sub New (message As String)

Parameters

message
String

Represents text as a series of Unicode characters.

Applies to

DeploymentException(SerializationInfo, StreamingContext)

Initializes a new instance of the DeploymentException class.

protected:
 DeploymentException(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected DeploymentException (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new System.Deployment.Application.DeploymentException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Deployment.Application.DeploymentException
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As 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

DeploymentException(String, Exception)

Initializes a new instance of the DeploymentException class.

public:
 DeploymentException(System::String ^ message, Exception ^ innerException);
public DeploymentException (string message, Exception innerException);
new System.Deployment.Application.DeploymentException : string * Exception -> System.Deployment.Application.DeploymentException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

Represents text as a series of Unicode characters.

innerException
Exception

Represents errors that occur during application execution.

Applies to