Compartilhar via


DeploymentDownloadException Constructors

Definition

Initializes a new instance of the DeploymentDownloadException class.

Overloads

DeploymentDownloadException()

Initializes a new instance of the DeploymentDownloadException class.

DeploymentDownloadException(String)

Initializes a new instance of the DeploymentDownloadException class with a message that describes the exception.

DeploymentDownloadException(SerializationInfo, StreamingContext)

Initializes a new instance of the DeploymentDownloadException class.

DeploymentDownloadException(String, Exception)

Initializes a new instance of the DeploymentDownloadException class.

DeploymentDownloadException()

Initializes a new instance of the DeploymentDownloadException class.

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

Applies to

DeploymentDownloadException(String)

Initializes a new instance of the DeploymentDownloadException class with a message that describes the exception.

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

Parameters

message
String

The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

Applies to

DeploymentDownloadException(SerializationInfo, StreamingContext)

Initializes a new instance of the DeploymentDownloadException class.

protected:
 DeploymentDownloadException(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected DeploymentDownloadException (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new System.Deployment.Application.DeploymentDownloadException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Deployment.Application.DeploymentDownloadException
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Parameters

serializationInfo
SerializationInfo

The object that holds the serialized object data.

streamingContext
StreamingContext

The contextual information about the source or destination.

Applies to

DeploymentDownloadException(String, Exception)

Initializes a new instance of the DeploymentDownloadException class.

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

Parameters

message
String

The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

innerException
Exception

The exception that is the cause of the current exception. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.

Applies to