AmbiguousActionException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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)
参数
- info
- SerializationInfo
- context
- StreamingContext
- 属性