AmbiguousActionException 构造函数

定义

重载

AmbiguousActionException(String)

创建 AmbiguousActionException 的新实例。

AmbiguousActionException(SerializationInfo, StreamingContext)
已过时.

框架基础结构。 不要直接调用 。

AmbiguousActionException(String)

Source:
AmbiguousActionException.cs

创建 AmbiguousActionException 的新实例。

public:
 AmbiguousActionException(System::String ^ message);
public AmbiguousActionException (string message);
public AmbiguousActionException (string? message);
new Microsoft.AspNetCore.Mvc.Infrastructure.AmbiguousActionException : string -> Microsoft.AspNetCore.Mvc.Infrastructure.AmbiguousActionException
Public Sub New (message As String)

参数

message
String

异常消息。

适用于

AmbiguousActionException(SerializationInfo, StreamingContext)

Source:
AmbiguousActionException.cs

注意

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

框架基础结构。 不要直接调用 。

protected:
 AmbiguousActionException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected AmbiguousActionException (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 AmbiguousActionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.AspNetCore.Mvc.Infrastructure.AmbiguousActionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.AspNetCore.Mvc.Infrastructure.AmbiguousActionException
[<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.AspNetCore.Mvc.Infrastructure.AmbiguousActionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.AspNetCore.Mvc.Infrastructure.AmbiguousActionException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

参数

属性

适用于