UnsolvableConstraintsException 构造函数

定义

重载

UnsolvableConstraintsException()
UnsolvableConstraintsException(String)

使用 message 说明性消息创建新的 UnsolvableConstraintsException 对象。

UnsolvableConstraintsException(SerializationInfo, StreamingContext)
已过时.
UnsolvableConstraintsException(String, Exception)

UnsolvableConstraintsException()

Source:
UnsolvableConstraintsException.cs
Source:
UnsolvableConstraintsException.cs
public:
 UnsolvableConstraintsException();
public UnsolvableConstraintsException ();
Public Sub New ()

适用于

UnsolvableConstraintsException(String)

Source:
UnsolvableConstraintsException.cs
Source:
UnsolvableConstraintsException.cs

使用 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)

Source:
UnsolvableConstraintsException.cs
Source:
UnsolvableConstraintsException.cs

注意

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)

参数

属性

适用于

UnsolvableConstraintsException(String, Exception)

Source:
UnsolvableConstraintsException.cs
Source:
UnsolvableConstraintsException.cs
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

适用于