WizardBackoutException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| WizardBackoutException() |
初始化 WizardBackoutException 的新实例。 |
| WizardBackoutException(String) |
使用指定的错误消息初始化 WizardBackoutException 类的新实例。 |
| WizardBackoutException(SerializationInfo, StreamingContext) |
用序列化数据初始化 WizardBackoutException 类的新实例。 |
| WizardBackoutException(String, Exception) |
使用指定的错误消息以及对导致此异常的内部异常的引用,初始化 WizardBackoutException 类的新实例。 |
WizardBackoutException()
初始化 WizardBackoutException 的新实例。
public:
WizardBackoutException();
public:
WizardBackoutException();
WizardBackoutException();
public WizardBackoutException ();
Public Sub New ()
适用于
WizardBackoutException(String)
使用指定的错误消息初始化 WizardBackoutException 类的新实例。
public:
WizardBackoutException(System::String ^ message);
public:
WizardBackoutException(Platform::String ^ message);
WizardBackoutException(std::wstring const & message);
public WizardBackoutException (string message);
new Microsoft.VisualStudio.TemplateWizard.WizardBackoutException : string -> Microsoft.VisualStudio.TemplateWizard.WizardBackoutException
Public Sub New (message As String)
参数
- message
- String
适用于
WizardBackoutException(SerializationInfo, StreamingContext)
用序列化数据初始化 WizardBackoutException 类的新实例。
protected:
WizardBackoutException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected WizardBackoutException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.TemplateWizard.WizardBackoutException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.TemplateWizard.WizardBackoutException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
参数
- info
- SerializationInfo
包含有关所引发异常的序列化对象数据的 SerializationInfo。
- context
- StreamingContext
StreamingContext,它包含关于源或目标的上下文信息。
例外
info参数为空引用 (Visual Basic 中没有任何)
类名为空引用 (Visual Basic) 中没有任何值,或者 HResult 为零 (0) 。
适用于
WizardBackoutException(String, Exception)
使用指定的错误消息以及对导致此异常的内部异常的引用,初始化 WizardBackoutException 类的新实例。
public:
WizardBackoutException(System::String ^ message, Exception ^ innerException);
public WizardBackoutException (string message, Exception innerException);
new Microsoft.VisualStudio.TemplateWizard.WizardBackoutException : string * Exception -> Microsoft.VisualStudio.TemplateWizard.WizardBackoutException
Public Sub New (message As String, innerException As Exception)
参数
- message
- String
- innerException
- Exception