HttpAntiForgeryException 建構函式

定義

多載

HttpAntiForgeryException()

此成員支援.NET Framework基礎結構,而且不適合直接從您的程式碼使用。初始化 類別的新實例 HttpAntiForgeryException

HttpAntiForgeryException(String)

此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。 初始化 HttpAntiForgeryException 類別的新執行個體。

HttpAntiForgeryException(String, Exception)

此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。 初始化 HttpAntiForgeryException 類別的新執行個體。

HttpAntiForgeryException()

此成員支援.NET Framework基礎結構,而且不適合直接從您的程式碼使用。初始化 類別的新實例 HttpAntiForgeryException

public HttpAntiForgeryException ();
Public Sub New ()

適用於

HttpAntiForgeryException(String)

此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。 初始化 HttpAntiForgeryException 類別的新執行個體。

public HttpAntiForgeryException (string message);
new System.Web.Mvc.HttpAntiForgeryException : string -> System.Web.Mvc.HttpAntiForgeryException
Public Sub New (message As String)

參數

message
String

包含訊息。

適用於

HttpAntiForgeryException(String, Exception)

此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。 初始化 HttpAntiForgeryException 類別的新執行個體。

public HttpAntiForgeryException (string message, Exception innerException);
new System.Web.Mvc.HttpAntiForgeryException : string * Exception -> System.Web.Mvc.HttpAntiForgeryException
Public Sub New (message As String, innerException As Exception)

參數

message
String

訊息。

innerException
Exception

內部例外狀況。

適用於