UnsolvableConstraintsException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
UnsolvableConstraintsException()
public:
UnsolvableConstraintsException();
public UnsolvableConstraintsException ();
Public Sub New ()
適用於
UnsolvableConstraintsException(String)
使用 message
說明訊息建立新的 UnsolvableConstraintsException 物件。
public:
UnsolvableConstraintsException(System::String ^ message);
public UnsolvableConstraintsException (string message);
new Microsoft.Maui.Controls.UnsolvableConstraintsException : string -> Microsoft.Maui.Controls.UnsolvableConstraintsException
Public Sub New (message As String)
參數
- message
- String
此例外狀況的描述。
適用於
UnsolvableConstraintsException(SerializationInfo, StreamingContext)
警告
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
protected:
UnsolvableConstraintsException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected UnsolvableConstraintsException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new Microsoft.Maui.Controls.UnsolvableConstraintsException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Maui.Controls.UnsolvableConstraintsException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
參數
- info
- SerializationInfo
- context
- StreamingContext
- 屬性
適用於
UnsolvableConstraintsException(String, Exception)
public:
UnsolvableConstraintsException(System::String ^ message, Exception ^ innerException);
public UnsolvableConstraintsException (string message, Exception innerException);
new Microsoft.Maui.Controls.UnsolvableConstraintsException : string * Exception -> Microsoft.Maui.Controls.UnsolvableConstraintsException
Public Sub New (message As String, innerException As Exception)
參數
- message
- String
- innerException
- Exception