共用方式為


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)

參數

屬性

適用於