DeploymentDownloadException 构造函数
定义
初始化 DeploymentDownloadException 类的新实例。Initializes a new instance of the DeploymentDownloadException class.
重载
| DeploymentDownloadException() |
初始化 DeploymentDownloadException 类的新实例。Initializes a new instance of the DeploymentDownloadException class. |
| DeploymentDownloadException(String) |
使用描述异常的消息初始化 DeploymentDownloadException 类的新实例。Initializes a new instance of the DeploymentDownloadException class with a message that describes the exception. |
| DeploymentDownloadException(SerializationInfo, StreamingContext) |
初始化 DeploymentDownloadException 类的新实例。Initializes a new instance of the DeploymentDownloadException class. |
| DeploymentDownloadException(String, Exception) |
初始化 DeploymentDownloadException 类的新实例。Initializes a new instance of the DeploymentDownloadException class. |
DeploymentDownloadException()
初始化 DeploymentDownloadException 类的新实例。Initializes a new instance of the DeploymentDownloadException class.
public:
DeploymentDownloadException();
public DeploymentDownloadException ();
Public Sub New ()
适用于
DeploymentDownloadException(String)
使用描述异常的消息初始化 DeploymentDownloadException 类的新实例。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)
参数
- 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.
适用于
DeploymentDownloadException(SerializationInfo, StreamingContext)
初始化 DeploymentDownloadException 类的新实例。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)
参数
- serializationInfo
- SerializationInfo
承载序列化对象数据的对象。The object that holds the serialized object data.
- streamingContext
- StreamingContext
关于来源和目标的上下文信息The contextual information about the source or destination.
适用于
DeploymentDownloadException(String, Exception)
初始化 DeploymentDownloadException 类的新实例。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)
参数
- 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. 如果 innerException 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.