DeploymentException Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DeploymentException class.
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. |
Initializes a new instance of the DeploymentException class.
public:
DeploymentException();
public DeploymentException();
Public Sub New ()
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 |
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
.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 |
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
.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 |
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
.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 |