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