FeatureNotEnabledException 构造函数

定义

重载

FeatureNotEnabledException()

初始化 FeatureNotEnabledException 类的新实例。

FeatureNotEnabledException(String)

使用指定的消息初始化 FeatureNotEnabledException 类的新实例。

FeatureNotEnabledException(String, Exception)

使用指定的消息和内部异常初始化 FeatureNotEnabledException 类的新实例。

FeatureNotEnabledException()

Source:
Exceptions.shared.cs
Source:
Exceptions.shared.cs
Source:
Exceptions.shared.cs

初始化 FeatureNotEnabledException 类的新实例。

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

适用于

FeatureNotEnabledException(String)

Source:
Exceptions.shared.cs
Source:
Exceptions.shared.cs
Source:
Exceptions.shared.cs

使用指定的消息初始化 FeatureNotEnabledException 类的新实例。

public:
 FeatureNotEnabledException(System::String ^ message);
public FeatureNotEnabledException(string message);
new Microsoft.Maui.ApplicationModel.FeatureNotEnabledException : string -> Microsoft.Maui.ApplicationModel.FeatureNotEnabledException
Public Sub New (message As String)

参数

message
String

更详细地描述此异常的消息。

适用于

FeatureNotEnabledException(String, Exception)

Source:
Exceptions.shared.cs
Source:
Exceptions.shared.cs
Source:
Exceptions.shared.cs

使用指定的消息和内部异常初始化 FeatureNotEnabledException 类的新实例。

public:
 FeatureNotEnabledException(System::String ^ message, Exception ^ innerException);
public FeatureNotEnabledException(string message, Exception innerException);
new Microsoft.Maui.ApplicationModel.FeatureNotEnabledException : string * Exception -> Microsoft.Maui.ApplicationModel.FeatureNotEnabledException
Public Sub New (message As String, innerException As Exception)

参数

message
String

更详细地描述此异常的消息。

innerException
Exception

与此异常相关的内部异常。

适用于