Поделиться через


AmbiguousActionException Конструкторы

Определение

Перегрузки

AmbiguousActionException(String)

Создает новый экземпляр AmbiguousActionException.

AmbiguousActionException(SerializationInfo, StreamingContext)
Устаревшие..

Инфраструктура платформы. Не вызывайте напрямую.

AmbiguousActionException(String)

Исходный код:
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)

Исходный код:
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)

Параметры

Атрибуты

Применяется к