共用方式為


FeatureNotEnabledException 建構函式

定義

多載

FeatureNotEnabledException()

初始化 FeatureNotEnabledException 類別的新執行個體。

FeatureNotEnabledException(String)

使用指定的訊息初始化 FeatureNotEnabledException 類別的新執行個體。

FeatureNotEnabledException(String, Exception)

使用指定的訊息和內部例外狀況初始化 FeatureNotEnabledException 類別的新執行個體。

FeatureNotEnabledException()

來源:
Exceptions.shared.cs
來源:
Exceptions.shared.cs

初始化 FeatureNotEnabledException 類別的新執行個體。

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

適用於

FeatureNotEnabledException(String)

來源:
Exceptions.shared.cs
來源:
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)

來源:
Exceptions.shared.cs
來源:
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

與這個例外狀況相關的內部例外狀況。

適用於