Dela via


AmbiguousActionException Constructors

Definition

Overloads

AmbiguousActionException(String)

Creates a new instance of AmbiguousActionException.

AmbiguousActionException(SerializationInfo, StreamingContext)
Obsolete.

Framework infrastructure. Do not call directly.

AmbiguousActionException(String)

Source:
AmbiguousActionException.cs

Creates a new instance of 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)

Parameters

message
String

The exception message.

Applies to

AmbiguousActionException(SerializationInfo, StreamingContext)

Source:
AmbiguousActionException.cs

Caution

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

Framework infrastructure. Do not call directly.

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)

Parameters

Attributes

Applies to